What to know before starting?

The weather data from the Open Weather Map xml feed are automatically translated (23 languages ​​available to date).

Since WP Cloudy 3.5, everything is now translated via PO/MO files.

10 languages available (thanks to our translators):

  • English
  • French
  • Italian
  • Hungarian
  • Polish
  • Hebrew
  • Polish
  • Russian
  • Danish
  • German
  • Portuguese

The tools you need

Poedit, a free software available for PC and Mac users:

Download Poedit

Or, WPML, the paid plugin for WordPress to build a multilangual site:

Buy WPML

Translating WP Cloudy

Using an FTP program, go to the root directory of WP Cloudy (eg: http://yoursite.com/wp-content/plugins/wp-cloudy/) and open the lang folder.

You will see 4 files corresponding to the 2 languages ​​included by default (english and french).

Root directory of WP Cloudy

Root directory of WP Cloudy

To create a new language, simply duplicate the file wpcloudy.po in the same directory and rename it like this:

wpcloudy-yourlanguagecode_yourcountrycode.php

Click here to find your language code and here to find your country code.

Example with german language

Example with german language

Then, open this new file with Poedit.

Select a string to translate in the list, then in the Translation area, enter your text.

Translating WP Cloudy with Poedit

Translating WP Cloudy with Poedit

Repeat the operation for all strings. Then click on the Update button.

Update your translation

Update your translation

To save your file, just click Save from File menu.

Don't forget to save regularly your work

Don’t forget to save regularly your work

By saving your work, a new file is created in the lang directory called wpcloudy-de_DE.mo.

MO file generated by Poedit

MO file generated by Poedit

This is the file used by WordPress for displaying the right translations in front-end and backend.

To finish

Just upload your files on your webhost via FTP (eg: wpcloudy-de_DE.po and wpcloudy-de_DE.mo) and you’re done!

Do not hesitate to suggest your translation, we will add it to plugin!