NEW HOTEL WP THEME | WOO PAYMENTS | ICAL EXPORT | SALE 19 $

VIEW DEMO

Translate the theme

Note : Please read this introduction to the translation before proceeding and be sure to translate also the plugin for the complete translation of the theme.

To translate the theme you have to:

  • download the poedit (a free translations editor)
  • open the “ong.pot” file, that you will find in the languages folder (..\wp-content\themes\ong\languages), with poedit.
  • at the end of the poedit screen you will find a button “Create new translation”
  • choose language translation ( the same of your wordpress language ).
  • start translating the strings and save your .po file with a title according to your language abbreviations and associated country. For example if you want to create an American English translation, the file will be named en_US.po.
  • when you save this .po file from Poedit, the application automatically generates an additional .mo file and you have to saves it in the same directory on your language folder.

Language code

The translation code must match the language code of wordpress. More information than here. For example the Spanish language code is es_ES but if you have installed wordpress in Argentine language the code will be es_AR.

Language folder

In your language folder ( ../wp-content/themes/ong/languages ) you will have for example:

  • .po file name: es_US.po
  • .mo file name: es_US.mo
Categories :

Can't find what you're looking for ? Ask our support team.

© Nicdark Agency