Tagged: languages, localisation, Translation
- This topic has 1 reply, 2 voices, and was last updated 7 years, 6 months ago by
WordPress Eden.
Viewing 2 posts - 1 through 2 (of 2 total)
- AuthorPosts
- August 30, 2014 at 11:02 pm #54816
dinaitalia
ParticipantThank you for the translation ready new function.
Unfortunally, it’s not working for me.
As for other translations, I use Poedit which provides me the .po and .mo files that then I upload to the plugin’s languages folder.
After doing so also for this plugin, I went to my test site but the language translation did not work.So I went to see the plugin’s code and at line 850 of the postbyuser.php file I’ve change your code:
/*Make the plugin translation ready */ function fpmm_translation_ready(){ load_plugin_textdomain('postbyuser', false, dirname((__FILE__)).'/languages/' ); } add_action('init', 'fpmm_translation_ready');
with this one:
/*Make the plugin translation ready */ function fpmm_translation_ready_init() { load_plugin_textdomain("postbyuser", false, "postbyuser/languages/"); } add_action("init", "fpmm_translation_ready_init");
and the translation worked out fine!
I’m no programmer, merely only newbie, but I followed the for the code switching.
Could you please check it out?
Thank you.September 1, 2014 at 7:22 am #54824WordPress Eden
KeymasterThanks for pointing that out. We will apply your patch in next update. Thanks.
- AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.