Translate BuddyApp and its plugins
Translate BuddyApp and its pluginsBuddyApp is translation ready. Text in the theme and in its companion plugins can be translated into any language. The translation templates (.pot files) are in the languages folder of the theme and of each plugin.
For a site in one language other than English, use Loco Translate (below). For a site in several languages, use WPML or Polylang: see Multilingual setup using WPML.
1. Set the site language
Section titled “1. Set the site language”Go to Settings > General > Site Language and choose your language. WordPress then downloads the translations for WordPress itself and for plugins from WordPress.org (BuddyPress, bbPress, WooCommerce and others). Check Dashboard > Updates for translation updates afterwards.
2. Install Loco Translate
Section titled “2. Install Loco Translate”Go to Plugins > Add New Plugin, search for Loco Translate, then install and activate it.
3. Translate the theme
Section titled “3. Translate the theme”- Go to Loco Translate > Themes and choose BuddyApp.
- If your language is listed, click it. Otherwise click New language.
- For a new language, choose the language and, under Choose a location, select Custom (
languages/loco/themes/). Translations saved there are not overwritten by theme updates. Avoid the Author location, which is inside the theme folder. - Click Start translating. Pick a string in the list, type the translation in the bottom box, and repeat. Use the filter box to find specific text.
- Click Save. Loco Translate writes the
.poand.mofiles and the text changes on the site.
4. Translate the plugins
Section titled “4. Translate the plugins”Some text comes from the theme’s companion plugins, not from the theme. If a string is missing from the theme list, it belongs to a plugin:
- Go to Loco Translate > Plugins and choose the plugin.
- Follow the same steps as for the theme, again with the Custom location.
If a large plugin does not show all its strings, raise Loco Translate > Settings > Skip PHP files larger than (for example to 600K) and click Sync in the language.
After a theme or plugin update
Section titled “After a theme or plugin update”Updates can add new text. Open your language in Loco Translate, click Sync to load the new strings, translate them and save.
Text still in English?
Section titled “Text still in English?”- Clear your caching plugin, server cache and browser cache.
- Check the language of your user account under Users > Profile > Language; it overrides the site language in the admin area.
- Text you typed yourself (page content, menus, widgets, theme options) is not part of the translation files. Edit it directly, or translate it with WPML or Polylang on a multilingual site.