1. Home
  2. Docs
  3. Website Translation
  4. Translate plugins & themes

Translate plugins & themes

How to translate WordPress Dashboard

When you first install WordPress, the dashboard / admin area is in English by default. The good news is, it is super easy to change the WordPress dashboard to a different language.

From your site’s dashboard:

  • Go to Settings >> General
  • Select your local language
  • Save your changes
Website-Translation---translate-WordPress-Dashboard-tutorial
Translate WordPress Dashboard – select language from settings page

Example text strings that are translated using the site language feature:

  • “Search” (search button)
  • “Nothing found” (when nothing is found in a search)
  • “Read more” (on posts)
  • “Leave a comment” (text to encourage the user to leave a message)

That’s it! Your WordPress dashboard is now translated.

Translating Chamber Dashboard Themes

The Chamber Beautiful theme, Chamber Inspired theme and RippleWP theme are all translation ready. This means that you can translate them to any language you’d like. Keep reading for step-by-step instructions on how to do this.

When a theme is tagged as translation-ready, this means that the theme includes a .POT file. The .POT file is the master theme (or plugin) translation fileBasically, a .POT file is a list of all the text lines used in the theme files in English language.

Translate the Chamber Dashboard theme on your local computer

In order to translate your theme, you will need to use the .POT file to generate .mo & .po files. In this tutorial, we will use Poedit (external link) to create these files. PoEasy (external link) is another free option for this.

Step 1: Locate your theme’s .POT file

  • Install Poedit on your local computer.
  • Download the Chamber Beautiful theme zip file.
  • Unzip the theme.
  • Go to the theme’s languages folder:
    • Chamber Beautiful theme: wp-content/themes/chamber-beautiful/languages/chamber-beautiful.pot
    • Chamber Inspired theme: wp-content/themes/chamber-inspired/languages/chamber-inspired.pot
    • Ripple WP theme: wp-content/themes/ripple-wp/languages/ripple-wp.pot
  • Open Poedit. From the file menu, select ‘New from POT’.
Poedit---create-new-from-POT-file
Poedit – create New from POT/PO file
  • You’ll see a popup, choose your language here. In our example we’re creating a French translation.

Step 2: Add a translation for each text string in the .POT file

You will now see a list of all of the theme’s text strings. For each text string, enter a translation. Depending on the language you have selected, Poedit may suggest translated text for you. Use the suggested text or enter your own.

Examples of text strings you will see:

  • Getting Started with Chamber Beautiful
  • Theme Info
  • View Demo
  • How to use Chamber Beautiful

Once you have translated all of your text strings, use File >> Save As to save your changes as a .po file.
(NOTE: Poedit will automatically create the .mo file.) You will need both .mo & .po files to translate the theme.
(NOTE: Be sure to respect all special characters from the original text when translating. Deleting special characters can cause your translation file not to work properly.)

Name the .po file using theme domain and language codetheme-text-domain-{language-code}.po

  • Chamber Beautiful theme using French language: chamber-beautiful-fr_FR.po
  • Chamber Inspired theme using French language: chamber-inspired-fr_FR.po
  • Ripple WP theme using French language: ripple-wp-fr_FR.po

Step 3: Upload the translated files to your site.

**IMPORTANT** WordPress recommends saving your translated files to the WordPress languages directory (external link), not the languages directory in the plugin or the theme. This is so that your translation files do not get over-written when the theme gets updated.

Find the WordPress languages directory themes folder within the wp-content directory on your hosting site: wp-content/languages/themes

Upload both the .mo & .po files here. The file path should look like this:

  • wp-content/languages/themes/chamber-beautiful-fr_FR.po
  • wp-content/languages/themes/chamber-beautiful-fr_FR.mo

Once you have uploaded your translated theme files, change the language for your WordPress dashboard on the settings page as shown above. (For our example, we would select Français) This setting will now not only translate your WordPress dashboard, it will also pull in your translated theme files.

Translating Chamber Dashboard Plugins

The Business Directory, CRM, Member Manager and Events Calendar plugins are all translation ready. This means that you can translate them to any language you’d like. The instructions for translating one of the Chamber Dashboard plugins are basically the same as for translating a theme as shown above, with a few key differences.

Once you have translated all of the text strings in Poedit. Name the .po file using the plugin domain and language codeplugin-text-domain-{language-code}.po

  • Business Directory plugin using French language: cdash-fr_FR.po
  • CRM plugin using French language: cfcrm-fr_FR.po
  • Member Manager plugin using French language: cdashmm-fr_FR.po
  • Events Calendar plugin using French language: cdash-events-fr_FR.po
  • Exporter plugin in French: cdexport-fr_FR.po
  • Recurring Payments in French: cdashrp-fr_FR.po

Upload your translations to the WordPress languages directory plugins folder within the wp-content directory on your hosting site: wp-content/languages/plugins

Upload both the .mo & .po files here. The file path should look like this:

  • wp-content/languages/plugins/cdash-fr_FR.po
  • wp-content/languages/plugins/cdash-fr_FR.mo

Once you have uploaded your translated plugin files, change the language for your WordPress dashboard on the settings page as shown above. (For our example, we would select Français) This setting will now not only translate your WordPress dashboard, it will also pull in your translated plugin files.

Looking for more translations?

We are in the process of making the entire collection of Chamber Dashboard plugins translation ready. Need a .POT file now? Submit a feature request here.

Share the Love!

We’d love to share your new translation with the rest of the WordPress community.
If you have translated one of our themes or plugins to a new language,
Send us your translated .po file and we’ll include it in next update!

Create a multi-language site

Want to create a site using multiple languages? We recommend the WPML plugin.

NOTE: If you are using the WMPL plugin to create a multilingual site, you can also use WPML to translate your theme and plugin files as well. Note that any changes you make within WPML will not get overwritten by plugin or theme updates since they are stored in the database rather than in your .mo and .po files.

Was this article helpful to you? Yes 1 No