Indexu Deluxe uses gettext to support multilanguage. Gettext has two kind of files, the .po file and .mo file.
.po is a pure text file in utf-8 format. This file is used only for translation purpose. Indexu script will never read this file.
.mo is a compiled language file. This file is generated by gettext tool like poedit (www.poedit.net). Indexu will read this file. Unfortunately, the compiled file is platform independent. If you compile from windows, then it will work for windows only. The same thing with linux.
How to translate:
1. Download the tool poedit (www.poedit.net)
2. Open indexu.po file
3. Start translating, please be careful with notation like %1 %2 %3 etc, they're necessary for variable replacing
4. Save with poedit, it will generate new .po and .mo file. The .po file here contain your translation for further translation
The folder structure of language folder
/lang/(lang_id)/LC_MESSAGES/
How to construct the lang_id
It contain 2 code, the language and the country. Please see the attachment for complete code. The first code is the language_id (lowercase) followed by _ and then the country_id (uppercase)
For example:
id_ID : Bahasa Indonesia for Indonesia
jv_ID : Bahasa Jawa for Indonesia
Video tutorial is available here.
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~ Please contribute and get a reward ~~
~~~~~~~~~~~~~~~~~~~~~~~~~~
Help us to translate into your language.
As a reward, we will provide you with Indexu Deluxe Single Domain License.
Don't forget to contact me at dody@nicecoder.com to redeem your reward.


LinkBack URL
About LinkBacks
Reply With Quote


