johandemeijer
Member
Posted 2 years 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.
http://www.teamibiza.net/wp-content/plugins/sidebar-login/langs/nl_NL.po
http://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 2 years ago #
92slayer92
Member
Posted 2 years ago #
It's a bad translation, I'll modify it and send you a good one.
alex_vigo
Member
Posted 2 years 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 2 years 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 2 years 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.
WP 2.9.2 & SB 2.2.10: obviously the fixes weren't applied yet, were they? Although I have set everything properly (I guess), I still can't see the translations (I'm using qTranslate 2.5.7) - only English version is showing up no matter what language (English, German and Polish) I choose.
Ideas anyone?
lacostechiu
Member
Posted 1 year ago #
WP 2.9.2 & SB 2.2.10: obviously the fixes weren't applied yet, were they?
I edit the file sblogin-zh_TW, and put it on
/wp-content/plugins/sidebar-login/langs/sblogin-zh_TW.po
/wp-content/plugins/sidebar-login/langs/sblogin-zh_TW.mo
my wp-config.php is setting
define ('WPLANG', 'zh_TW');
still not work!
Ideas anyone?