Problem with Language for plugin
I wrote a plugin and defined text just like the internacionalization docs says, using __(‘ and _e(‘ and defining a domain. Example: __(‘text’,’mydomain’)
Ok, thats working fine, I also created a line like this:
load_textdomain( ‘mydomain’, ABSPATH . ‘wp-content/mu-plugins/bp-languages/myplugin-‘ . get_locale() . ‘.mo’ );
And the .mo file is also created and located into the bp-languages folder.
I call this line in the initialization file for my plugin (located in mu-plugins), but the translation is not happening. What else should I do?
It should be already working, dont you think?
You must be logged in to reply to this topic.