| |||||||
| Register | Projects | FAQ | Members List | Mark Forums Read |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| ||||
|
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. Last edited by dody; 07-01-2008 at 01:58 AM. |
| |||
|
Hi I am half way doing arabic, problem is that some phrases are vague, like "please another one", so I guess I'll have to do a review to find out better words depending on syntax. I understand that the country code is for folder naming, so when I upload translation file for others I should have in my case in folders like this: lang/ar_SA/LC_MESSAGES/indexu.mo am I right? regards Hani |
| |||
|
Why you make so difficult there were so many ways to be simpler why to make our life harder?
__________________ mydir.gr - Greek Index Catalog |
| |||
|
Hi Dody When I try to save file with charset windows-1256 it gives an error, this is the most used charset in Arabic, UTF-8 is ok, but not so popular. Any ideas how to solve this as poedit site does not have anything regarding this matter. |
| |||
| Code: Content visible to License Owner only. Suggestions are welcome ![]() As translation reference, i'm official translation partner of Joomla! CMS system for the Dutch language so i have experience with the translating thing. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I wanna translate it into Chinese, how to begin? | tansongbai | Templates | 1 | 06-14-2007 03:33 PM |
| How to translate variables into Chinese? | noyou | v5.x | 3 | 02-27-2005 01:31 AM |
| Translate for Spanish | livedev | v3.2 | 15 | 04-28-2004 11:50 AM |
| Translate | marko | v5.x | 3 | 07-22-2002 11:12 AM |
| translate indexu? | Fanto | v5.x | 2 | 10-17-2001 03:38 AM |