Translation

Translation
May 26, 2014 Atelier
In Theme Documentation

Atelier is 100% translation and multi-lingual ready, and we recommend that you use the very popular WPML plugin.


Multilingual WordPress

 

To translate the static strings, if you aren’t using WPML then I recommend downloading PO Edit, from http://www.poedit.net/. Once you have installed please follow the steps below:

  1. Open the /atelier/languages/ folder and you will find the atelier.pot file, then rename it to your desired language code. For example; for German you need to re-name it as de_DE.po for Spanish es_ES.po for Turkish tr_TR.po etc. You can find all the codes from this link http://codex.wordpress.org/WordPress_in_Your_Language
  2. Then you will need to open the .po file in PO Edit. Once opened, you will see all strings that needs to be translated. Type the translation of a string into the “Translation” column. Do not delete or edit “Original string” part.
  3. When you finish translating, save the file. This will create an .mo file in the same directory.
  4. Upload the new files into the languages folder of the theme /wp-content/themes/atelier/languages/ and then follow this guide:http://codex.wordpress.org/Installing_WordPress_in_Your_Language#Single-Site_Installations

Using WPML Localisation

If you would prefer to use WPML to translate the theme strings, rather than translating the po file, please see this guide: https://wpml.org/documentation/getting-started-guide/theme-localization/

Theme Options/String Translation

Anything that doesn’t fall inside posts, pages or taxonomy goes into String Translation. This includes the site’s tagline, general texts in Admin screens, widget titles and many other texts. – https://wpml.org/documentation/getting-started-guide/string-translation/

Custom Post Type Translation

All of Atelier’s custom post types are translatable. Please ensure you check the following link to set up translation for those – https://wpml.org/documentation/getting-started-guide/translating-page-slugs/

Comments (0)

Leave a reply

Your email address will not be published. Required fields are marked *

*