6. CHILD THEME AND TRANSLATION

6. CHILD THEME AND TRANSLATION

1/ Child theme

We strongly recommend you to create a child theme and use it for customizing Chromium. This way you can update the theme and its plugins without fear of loosing implemented changes.

Please read this article to get a better understanding of WordPress child theme purpose, creation, and usage: https://codex.wordpress.org/Child_Themes 

2. Translation

Theme use PO translation file which is the industry standard translation method. In the theme folder, you will find a folder called languages. You will find each languages files store in the folder.

  • *.po – A lists of all text strings in theme. The text strings are in English and you can add the translation to each text string.
  • *.mo – This is the compiled .po file and is used by WordPress to translate the theme

If your language isn’t included in the theme language files. You have to create a new .po file from the original Theme.po located in theme’s languages folder then save the new .po file with your language code for example de_DE.po

 

Was this article helpful to you? No Yes

How can we help?