Skip to main content

# Translating other theme phrases

All phrases related to the user interface can be changed using theme translation files. We recommend for that the Loco Translate plugin, really simple and straightforward translation solution.

## Translating with the Loco Translate plugin

The Loco Translate plugin provides in-browser editing of all phrases in the theme. You can use it to change phrases without changing your current language.

### Requirements

In order to localize your theme and plugins, plase make sure that your web server has write permissions to the `/wp-content/languages/` directory. If you're not familiar with this subject, please first read about Loco Filesystem access.

### How to translate?

1. Install the Loco Translate plugin.
2. Go to the WP Admin Panel › Loco Translate.
3. Find on the list the Bimber theme (or plugin e.g. G1 Socials)
4. Click the New language link
5. Choose your language (1). If your server has no write permissions (see the requirements above) to the `/wp-content/languages/` folder, the error (1a) will show up. Fix it to proceed. Select the recommended Custom location (2) and click the Start translating button (3).
   CAUTION!
   1. Translation will be loaded only if the languages chosen in point (1) and your site language in WordPress Admin › Settings › General › Language are the same
   2. The Custom location is the only you should choose. Selecting other may cause loss of translations after next WordPress or theme update. Read more
6. Find on a list all phrases to translate (1), provide translation (2) and click Save (3) to generate all necessary translation files.

If everything goes well, you should find translation files under the directory:

#### For the theme

wp-content/languages/loco/themes/bimber-es_ES.po
wp-content/languages/loco/themes/bimber-es_ES.mo

#### For plugin (e.g. G1 Socials)

wp-content/languages/loco/plugins/g1_socials-es_ES.po
wp-content/languages/loco/plugins/g1_socials-es_ES.mo

### Sync translations

With new updates, translation phrases can change. New can be added, old can be removed or replaced. Anytime you can't find a phrase on the list of all phrases, you have to synchronize translations. Clicking sync from the editor (screen below) the Loco will update all phrases.

### Keep translations safe after future updates

If you followed the instructions above (point 5), all your translations will be stored in the `/wp-content/languages/loco/` directory so unless you reinstall the entire WordPress installation, all will be safe there. You can update the theme and each plugin without losing their translations. You don't even need to use the child theme.