johandemeijer
Member
Posted 4 months ago #
I've translated the .po to Dutch. But it do not work.
All my computer software is Dutch, so I don't no why it do not work.
www.teamibiza.net/wp-content/plugins/sidebar-login/langs/nl_NL.po
www.teamibiza.net/wp-content/plugins/sidebar-login/langs/nl_NL.mo
All the text stays English.
Please help! :)
Regards,
Johan
Does it work if you prefix it with sblogin-, e.g. sblogin-nl_NL.po
Im a bit fuzzy when it comes to localization.
johandemeijer
Member
Posted 4 months ago #
92slayer92
Member
Posted 4 months ago #
It's a bad translation, I'll modify it and send you a good one.
alex_vigo
Member
Posted 4 months ago #
Hi, the same problem here. I tried es_ES.mo and sblogin-es_ES.mo in /wp-content/plugins/sidebar-login/langs/ and no luck, the widget remains English. I use QTranslate for changing the blog language.
Anyone can help me?
alex_vigo
Member
Posted 4 months ago #
After going crazy a few times I found that the 2 language files that come with the last version of sidebar-login(2.2.4) are both wrong in their line numbers. For example:
#: sidebar-login.php:46
#: sidebar-login_2_2_1.php:46
msgid "<p>Changes saved</p>"
msgstr "<p>Changements sauvegardés</p>"
and in sidebar-login.php:46 :
// Update options
should be sidebar-login.php:55:
_e('<p>Changes saved</p>',"sblogin");
And all the others has the same problem.
Besides that when the plugin makes the call to load the .mo:
20) load_plugin_textdomain('sblogin', WP_PLUGIN_URL.'/sidebar-login/langs/', 'sidebar-login/langs/');
The function get_locale() returns nothing, this is probably because of my QTranslate plugin that set the locale at some point after that... trying to fix it now.
alex_vigo
Member
Posted 4 months ago #
And line 246 (2.2.2) or 257(2.2.4) of sidebar-login.php should use
__('Dashboard','sblogin')
__('Profile','sblogin')
instead of only __('Dashboard') & __('Profile') that uses now
k thanks, Ill note this for next version.