Tagged: buddyboss tanslate
November 26, 2011 at 8:02 pm #6503
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.
Go to http://wordpress.org/support/register.php to register for a wordpress account. Make sure you activate it since we will be using this in step 2.
Go to http://translate.wordpress.org/projects/buddypress/dev and log in using your wordpress account
Select your desired translation from the page. After your selection scroll to the bottom of the page and export ALL CURRENT as PO.
Download a program called Poedit here: http://www.poedit.net/download.php
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”
msgid “Browse Members”
msgid “News Feed”
msgid “My Likes”
msgid “in a public message”
msgid “%s wrote on %s Wall”
msgid “Comment (%s)“
Happy Translating!November 27, 2011 at 6:02 pm #10187
Is there a way to do this for multiple languages? So for example have an English Version and a Spanish Version at the same time?November 27, 2011 at 10:49 pm #10188
@anthony here are 3 resources to help you with that question:
Let us know which one works best for you!January 7, 2012 at 3:20 pm #10189
I made this exactly as discribed. But nothing is translated? I have translated every word in poedit.
Do you know whats wrong?January 7, 2012 at 3:43 pm #10190
I changed the theme to default. Then some more words were translated – as the date on posts. But when changing back to buddypress its english again :SJanuary 7, 2012 at 3:44 pm #10191
Is buddypress not compatible with language pack?January 7, 2012 at 3:45 pm #10192
php verision 5.2.8?January 8, 2012 at 5:48 pm #10193
@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.January 8, 2012 at 6:14 pm #10194
Nothing is translated for me when I do as instructed. What can be wrong?January 8, 2012 at 6:31 pm #10195
@prell1 you need to add your own translations for the BuddyBoss po file. We only provide the file of English words, you need to translate to your own language.January 30, 2012 at 7:01 pm #10196
Where do I find Buddyboss Po file??
How do I do in step 8 when using two files??January 30, 2012 at 7:10 pm #10197
Great, i did all this work on weekend and now i got almost all my Site in spanish.
ThanksFebruary 1, 2012 at 1:25 am #10198
@prell1 the file is located in the most recent release of BuddyBoss in the location “buddyboss/languages/”November 20, 2012 at 5:56 pm #10199
How can I add the words to po file ?
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.November 24, 2012 at 5:40 pm #10200
@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
You must be logged in to reply to this topic.