One of the top questions in the BuddyBoss support forums is how to translate BuddyBoss into another language. This guide will step you through the process from signing up for a WordPress.org account to editing the po file that will include your language translations.
Make edits to the PO file if you feel the translation is wrong
Save the PO file, by default a MO file should be saved when you save the PO file, if not change your settings in the program or save as a MO separately
Upload the file to your server using a FTP program like FileZilla to wp-content/languages. If your server does not have a languages folder now is the time to create one.
Edit your wp-config.php file and edit the line like:
To something like this:
Please note that your entry will be DIFFERENT than this one for english depending on which language file you downloaded.
Check your site and make sure you can understand everything, otherwise you can make changes as necessary to the PO file and re-upload as necessary.
Here is a list of locations of BuddyBoss specific words:
msgid “View My Profile”
msgid “Edit My Profile”
msgid “Change My Avatar”
@prell1 some words are custom to BuddyBoss. With the release of version 2.0.2 you can find the po file in buddyboss/languages you will need to use this file AND the BuddyPress language file in order to translate everything. If something is not translated please let me know and I will add it to the next version of BuddyBoss.
I added the words with notepad to the buddypress po file, when I open the file with poedit, it shows “Malformed Header” error and the added entry doesn’t show, Also, Mo file is not created because of the error.
@ochiba translations do not work by simply adding words to the file. Each word must be placed into a function and referenced the the proper po file based on the location of the file defined by the gettext function in the themes function file. Here is a link to everything you need to know about WordPress translation and files: http://codex.wordpress.org/Translating_WordPress I hope this helps