Forum Replies Created
Hi @Adrian7, just wandering how did you get around this?
I am using English install with localized language files for WP and BP
I downloaded BP language file from here: http://translate.wordpress.org/projects/buddypress/dev
and similar to your case not all of the strings are translated.
So I am just wandering what is the right way to go about it?
Do I need to merge original BP English po and translated po files into one file and then use it as a translated language file and finalize all translations in it?
Thanks for any details, I am fairly new to this and any help would be appreciated.
I deactivated all plugins but BP and it did not help…
Then I reactivated BP and it looks like it is working. Go figure…
Thanks for you help @mercime
I also see the following in the error log:
Sep 20, 20:25:14 PHP Notice: Undefined offset: 1 in /home2/lifewiy0/public_html/cn/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 236
Sep 20, 20:25:14 PHP Notice: Trying to get property of non-object in /home2/lifewiy0/public_html/cn/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 2016
Sep 20, 20:26:15 PHP Notice: Undefined offset: 1 in /home2/lifewiy0/public_html/cn/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 236
Sep 20, 20:26:15 PHP Notice: Trying to get property of non-object in /home2/lifewiy0/public_html/cn/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 2016
As for the plugins:
* BP Multilingual
* WPML plugins
* Events manager
This is new installation, I did not do any changes to any of the files from the error log.
@mercime thanks for reply, here are the details:
Did you go through the Installation Wizard after you activated BuddyPress? – Yes
What theme are you using? – default bp
Thanks for your reply @modemlooper but could you help me to understand this a bit further please.
From what I see, your recommendation is referring to “WP in your language”: http://codex.wordpress.org/Installing_WordPress_in_Your_Language
that talks about converting WP into your local language that you would preffer to use for admin and public.
where the language files come from the corresponding wp install zip for that specific language
In my case I downloaded WP from http://cn.wordpress.org/
and http://tw.wordpress.org/ and extracted zh-cn.mo and zh-tw.mo files that I then added to my /wp-content/languages
with the following modification to wp-config.php file
1. is this correct? Can you declare multiple languages this way? And if so, how does one go about switching from one to another?
Now, back to my original question about translating BuddyPress
From what I found here: http://codex.buddypress.org/translations/
it provides different language files: http://translate.wordpress.org/projects/buddypress/dev
As I understand these are only for BuddyPress plugin and not WP in general.
Once downloaded and converted to .mo files you can use them to translate BuddyPress
by adjusting bp-custom.php
2. Now, I am not sure how does WP translation corresponds to BP translation. The way I see it they are separete and need to be done separatly by going through steps above. Is this correct?
3. Also, how to go about declaring multiple languages in both: wp-config.php and bp-custom.php and then switching between them.
Could someone clarify these points please. I am new to WP and figuring this out takes way too much time. I hope I am on a right track.