Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have one question. I use latest Wordpress and Budypress. I have language files for buddypress - .po and .mo. My question is where I need to put the files, how I need to rename them and is there any function that I need to add somewhere (for example functions.php) to load them. I checked this page and try to follow the instructions, but my site is still in english.

Thank you in advance :)

share|improve this question

closed as off-topic by toscho Aug 2 at 20:53

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

    
The instructions say to put them in the /wp-content/languages/ folder. Have you done that? –  Lea Cohen Jan 27 '13 at 6:21

1 Answer 1

up vote 1 down vote accepted

The naming convention for plugins translation files (.mo and .po files) is pluginname-language_COUNTRY.mo. So, for example, a French translation files of Buddypress will be: buddypress-fr_FR.mo and buddypress-fr_FR.po. After renaming these files, put them in wp-content/languages directory and your translation should work. Note that WP_LANG must be defined with the same language (fr_FR for example) for the translation files to load.

share|improve this answer
    
Thank you for the answer :) –  Dido Kotsev Jan 27 '13 at 10:07

Not the answer you're looking for? Browse other questions tagged or ask your own question.