Tell me more ×
WordPress Answers 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
The instructions say to put them in the /wp-content/languages/ folder. Have you done that? – Lea Cohen Jan 27 at 6:21

1 Answer

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 at 10:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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