# Buddypress Translation

### **You can download Buddypress’ 100% Translation Files from here :** [**https://translate.wordpress.org/projects/wp-plugins/buddypress**](https://translate.wordpress.org/projects/wp-plugins/buddypress)

**1. Go to This link** [**https://translate.wordpress.org/projects/wp-plugins/buddypress**](https://translate.wordpress.org/projects/wp-plugins/buddypress)

![](https://i0.wp.com/image.prntscr.com/image/44543d362c4f4589acc59f26bdd9603a.png?resize=727%2C368)

**2. Choose Portable object message catalog in the drop down menu (po/pot)**

![](https://i1.wp.com/image.prntscr.com/image/62b62c9795774b74a060ab2263f2ee05.png?resize=734%2C387)

**3. Po file will be downloaded**

![](https://i0.wp.com/image.prntscr.com/image/1166c8d24f17429fb9c154c9c8fc5ccf.png?w=920)

**4. Now Choose Machine object message catalog in the drop down menu (MO)**

![](https://i0.wp.com/image.prntscr.com/image/1c728c2b892748479a46110832f48db2.png?w=920)

5\. MO file will be downloaded.

6\. **Make a copy of the DOWNLOADED PO FILE**.

7\. So now, there are three files

![](https://i2.wp.com/image.prntscr.com/image/8656f7c8292245c081ba00e4351f02dc.png?w=920)

* PO FILE
* MO FILE
* COPY OF PO FILE

8\. NOW IT’s Time to rename these files.

PO FILE : **buddypress-xx\_XX.po**

MO FILE: **buddypress-xx\_XX.mo**

COPY OF PO FILE: **buddypress.pot**

Where xx\_XX denotes the language code.

For english usa, lanugage code is **en\_US**

for Portuguese brazil, language code is **pt\_BR**

9\. Now there are THREE files

* **buddypress-xx\_XX.po**
* **buddypress-XX\_XX.mo**
* **buddypress.pot**

![](https://i2.wp.com/image.prntscr.com/image/d9984696671441b3be679780bdf2cd8b.png?w=920)

10\. **NOW VIA FTP OR CPANEL**

Go to **wp-content/languages/plugins/** folder

Copy **buddypress-xx\_XX.po** and **buddypress-XX\_XX.mo** files there.

![](https://i0.wp.com/image.prntscr.com/image/b619f775543c41f8906874f30d11984e.png?w=920)

11\.

Go to **wp-content/plugins/buddypress/** folder

Copy **buddypress.pot** file there.

> **DONE.**

> ## **MANUALLY TRANSLATE BUDDYPRESS**

1\. Install and Activate Loco Translator Plugin.\
&#x20;2\. Go to wp-admin->loco translate->plugins->Choose BuddyPress

![](https://i1.wp.com/image.prntscr.com/image/0ca381acc8114b8faf1290f024230d48.png?w=920)

3\. Click on buddypress

![](https://i0.wp.com/image.prntscr.com/image/f1d9c3c1d4c143b38d081015f974fa4b.png?resize=344%2C363)

4\. **Now click on edit template if template is already created.**

**Otherwise you will have to create a template.**

![](https://i1.wp.com/image.prntscr.com/image/b26eaeaca85b41d68cd1004cfc31272a.png?w=920)

&#x20;                                              **OR**

![](https://i0.wp.com/image.prntscr.com/image/f7a4ee7917264f638b26f7b212ea3164.png?resize=424%2C200)![](https://i0.wp.com/image.prntscr.com/image/95bb71aa19424561a962109b28f4e7a6.png?resize=427%2C288)

5\. **After clicking on EDIT TEMPLATE** , Now a page will open. **Click on sync and save** to syncronise the pot file.![](https://i2.wp.com/image.prntscr.com/image/9d439ee7598c4d54a0e38582fa978adb.png?w=920)

6\. Now Select the language translation file or create a new language translation file.

![](https://i0.wp.com/image.prntscr.com/image/4b442c3f3bdf49d6a96e84afc9d4d297.png?w=920)

7\. After selecting the language, a new page will open.\
&#x20;8\. Click on **sync** to syncronise the po and mo files with the pot file.\
&#x20;9\. Search for the string that you want to translate.\
&#x20;10\. Write the intended translation .\
&#x20;11\. Click on Save.\
&#x20;12\. You can Download the po and mo translation files for BACKUP.

![](https://i1.wp.com/image.prntscr.com/image/07754235da8a47d1afc89ee63d14d8ca.png?w=920)

![](https://i0.wp.com/image.prntscr.com/image/46d703a1de9e44ca9d5048fd2983b131.png?w=920)

13\. **If you are translating any string with Variables like %s, %d**

Then You need to follow this guide.

<https://developer.wordpress.org/themes/functionality/internationalization/#variables>

> &#x20;FINALLY CHECK THE FRONTEND TO SEE YOUR TRANSLATED TEXT. #CHEERS.

**\*\* IF THE TRANSLATION DOESN’T WORK \*\***

1\. Login to your website Via FTP.\
&#x20;2\. Make Sure the **buddypress-xx\_XX.po** and **buddypress-xx\_XX.mo** (Example: For English(US), the translation files will be buddypress-en\_US.po/mo) translation files of the buddypress are located in This Folder.

> **/wp-content/languages/plugins/**

{% embed url="<https://www.youtube.com/watch?v=2afXqhGnTfY>" %}

### *Related*
