I’m working on the spanish translation and I’m having a problem.
syntax error, unexpected $end in /…/bb-includes/gettext.php(307) : eval()’d code on line 1
The error really comes from this line of code:
$posts = sprintf('%1$s %2$s', $post_num, __ngettext( 'post', 'posts', $post_num ));
And I guess it has something to do with the plurals (post and posts). I’ve generated the po file using poEdit.
Does anyone have an idea of how to solve this?
Hi there…
i nearly completed an italian translation for bbPress (using the last SVN, so it should be the most updated).
I’m keeping it updated and i’m going near completion today or tomorrow.
If you want to have a look at it or use it, feel free to check HERE
This is just a test forum… it’s not yet released to users
Bye!
@pompilos and lstelie
I guess the change password bug (and general user-account editing bug) in the translated versions are triggered by the translation of this line in the bbpress/bb-includes/functions.php
file:
$profile_menu[0] = array(__('Edit'), 'edit_profile', 'edit_users', 'profile-edit.php', 'edit');
If you translate 'Edit'
by 'Editer'
or 'Modifier'
, for example, users won’t be able to save their password change, and administrators won’t be able to save a role change for an user; the last part of the edit link — …/edit
— will be changed to either …/editer
or …/modifier
. The page will display, but when you click on the save button, changes to the user’s profile won’t be saved.
Sorry, there is some bug in Spanish translation. Strangely, the function for changing the password (in “Profile > Edit”) stops working when this .mo file is running, and the problem dissapears if you revert it to the English version.
So, don’t use it.
Haha … yes, you deleted me. Donno why I didn’t post yet. I’ll register again sometime …
btw, this topic is a bit wrong i think, the bug has (i think so) nothing to do with the translation. i cleared my cache in Flock and it worked there, too.
Translating bbPress is a bit difficult … but anyway, I’m almost done .. about 30% left to translate
Hello,
I’ve dumped the French translation of bbPress .mo and .po files within bbPress. My only problem, the time of my posts are in English language http://patrimoineacadien.com/babillard/ . How can I resolve to get time in French instead? I’ve checked with poEdit; the translation looks fine.
Thanks for your support.
Russian translation can be loaded here bbpress.ru
Русский перевод можнозагрузить здесь bbpress.ru
Finally found French .mo and .po translation files for bbPress over here:
http://www.wordpress-fr.net/support/viewtopic.php?id=2656 (Post)
Files download:
http://www.saint-elie.com/bbpress_fr.0.1.zip
Everything is now working fine.
Robert Richard.
Hi, I want to start german translation if there isn’t anyone out there still doing it.
Anyone dissenting?
I put the same language config string that WordPress use setting a constat named WPLANG, i tried to set BBlang too.. but the translation didn’t work, so or the config line is wrong or the gettext function didn’t work yet
bbPress uses the exact same translation framework, gettext.
Large parts of it have already been translated as part of WordPress.com, but we don’t want to localize the default templates until we have proper themes. (Like in WP.)