- January 20, 2015 at 6:37 pm #10003041
I have noticed that there are also other questions regarding translations and it seems there is something wrong. Since version 4 it’s not necessary anymore to use the
define('WPLANG', 'nl_NL');in your config file. Maybe that this is the problem? I can translate all the strings, but they doesn’t show up. I checked also a few scripts and the text-domain looks okay.
I’m using “Loco translate” for many themes and plugin and it works normally as it should. Any advice, I really like to help.January 20, 2015 at 8:52 pm #10003042
There is a nice post in wordpress forum that address the translation
issue with wordpress 4.0.
Please let us know if you dont get it work as solutions mention on this
page so I will have a team look into it for you.
ThanksJanuary 21, 2015 at 1:22 am #10003047
don’t get me wrong, but other translations are fine (themes, plugins) it’s your plugin where I have the problem.
It’s a fresh install, so I was able to install the language using the WP admin.January 21, 2015 at 9:20 pm #10003049
I was having translations issues too, I’m using WPML for a multilingual site and all the strings translated in the .po were displayed in the main website’s language.
Then I found this post and I moved the function
load_plugin_textdomain( 'piereg', false, dirname(plugin_basename(__FILE__)) . '/lang/');
pie-register.phpfrom line 83 to line 376 (inside the
pie_main()function) and now the translations are working as expected.
Maybe you can consider this change in the next update.
I’m also trying to translate the registration form in each language but I’m afraid that it won’t be possible 🙁January 26, 2015 at 2:36 pm #10003071
Thank you Elisa,
We will definitely look into this and update accordingly.
The forum ‘Pie-Register 2.0 Support’ is closed to new topics and replies.