Forum Replies Created
-
Step 1: Upload a MU language file to active the language select menu in “Site Admin” – “Options” page. This will make you can select sitewide default language.
Step 2: Upload a BP language file. And its language will been changed with MU at same time.
For example: I uploaded a file named “zh_CN.mo” for MU in “wp-content/languages/”. And now, In “Site Admin” – “Options” it will display a languages select menu. And in “Setting” – “General” will too. Now,I can change sitewide language or my own site language.
At this time, if I want to change BP’s language, I just need to upload a file “buddypress-zh_CN.mo” file in “wp-content/mu-plugins/bp-languages”.
You can test on my site, And I already translated BP and MU to chinese.
PS: This is just a test site. So DO NOT post any importent things.
Not wp-content/plugins/bp-languages
It should uploaded in wp-content/mu-plugins/bp-languages
PS: All the BP plugins should installed in “mu-plugins” not “plugins”
Maybe you should uploaded a language file for WPMU too. And this will let MU can active the languages ‘select list’ in backend.
WPMU (Core) and BP always change them language at the same time. So when you change the language of MU. The BP’s will change too.
Hope you understand my poor English. Ha……
Languages files must named as buddypress-xx_XX.po and .mo.
DO NOT replace the buddypress.po file. It is just a template file.
Look at this:
I translated it to Simplified Chinese. So if you want to translate it to Traditional Chinese,mayby you should to take some edit about it.
My english is so poor. Hope you can understand what I said.
It’s done. And everybody can download it now.
I already done chinese translation. How to edit the https://codex.buddypress.org/translations/ page to add the link?
Anybody can help? Please……