Lodgix.com Manuals & Tutorials

What languages does the plugin support?

The lodgix plugin supports localization for the translation of plugin specific output.

Property Specific Data Translations

Within Lodgix, under Settings > Important Settings, at the bottom, there is an option to select which languages you wish to enable within Lodgix.

Once the languages are selected, that language's flag will be displayed on each property's Details tab. By clicking on each flag, translations may be entered, ensuring that individuals who are looking to rent these properties will have access to information in their native language.

Advanced - Changing or Adding Translations

Translations can be changed or added using ".po" and ".mo" files.

To alter a translation simply copy the ".po" files from "<lodgix plugin folder>/languages" to "wp-content/languages" and alter the file using POEdit or another po editor and then compile the ".mo" files.

Note: poedit is located here http://www.poedit.net/. Open the .po file and when saved, the .mo file is generated. There are numerous sources of tutorials online, as most applications, desktop or online use .po, .pot and .mo files for localization. Here's a tutorial from drupal: https://drupal.org/node/314231

For German for example, just copy p_lodgix-de_DE.po, edit it, compile it and it's ready.

The subscriber can alter the plugin to display other languages. He just needs to create a PO file for that and fixed strings on the plugin will be translated (menus, etc).