Translate WP Hotelier
WP Hotelier already comes with some language translations, which are maintained directly by the Polyglots team. If yours isn’t included or is incomplete, you can 1) join the Polyglots team and contribute, or 2) you can create your own translation by following this guide.
First, you need Poedit. You can download it for free here:
https://poedit.net/
Copy in your computer the file in the WP Hotelier plugin found here:
wp-content/plugins/wp-hotelier/languages/wp-hotelier.pot
You can also find an always updated version here:
https://github.com/wp-hotelier/wp-hotelier/blob/master/languages/wp-hotelier.pot
Open that file with Poedit, select the language of your translation ("
Spanish" for example) and add your translations (please check the Poedit documentation).
When you have finished the translation, save a copy to your computer ("
Poedit > Save as").
The name must follow this rule:
wp-hotelier-es_ES.po, where
es_ES is the code for your country.
More info here.
This operation will automatically create a new file called wp-hotelier-es_ES.mo. Upload the two files (wp-hotelier-es_ES.po and wp-hotelier-es_ES.mo) in /wp-content/languages/plugins/wp-hotelier/
(create the folders if they don't exist).
Alternatively, if they don't work in that folder, upload the two files (wp-hotelier-es_ES.po and wp-hotelier-es_ES.mo) in /wp-content/languages/plugins/
(create the folders if they don't exist).
Then, change the language in WordPress by going to
Settings > General > Site Language.