[i18n] Khmer Language in Horde and IMP
Ong Pisey
sey at of.forum.org.kh
Sat Jan 22 04:39:21 PST 2005
Dear All,
First I would like to introduce myself. My name is Ong Pisey, I am
working at Open Forum of Cambodia. And I would like to let you know that
may be fourth days ago I try to translate IMP in to my language (Khmer
Language) by using the README file in directory /horde/po/README and
also file in the directory /horde/docs/TRANSLATE. So I will let all of
you know about what I am doing:
1- Package download
* Horde 3.0.2
* IMP H3 (4.0.1)
* Kronolith H3 (2.0.1)
* Mnemo H3 (2.0)
* Nag H3 (2.0)
* Turba H3 (2.0)
* Chora H3 (2.0)
2- Server information
* SuSE Linux Professional 9.0
* apache-1.3.28-43
* mod_php4-4.3.3-13
* mysql-4.0.15-9
3- Make new PO file from horde and imp. I run script translation.php in
directory /horde/po
* ./translation.php compendium -l km_KH
* ./translation.php init -l km_KH
After run these two commands, I got the file for translation km_KH.po in
directory:
* /horde/po/km_KH.po
* /horde/imp/po/km_KH.po
So the file that I need to translate is km_KH.po in directory
/horde/imp/po. And then after I translated it completely, I run command
(*./translation.php make)* to compile the translations to a binary
format MO file - and I got the result as below:
Results:
+--------+----------+------------+-------+--------------+
| Module | Language | Translated | Fuzzy | Untranslated |
+--------+----------+------------+-------+--------------+
| horde | ko_KR | 174 | 0 | 0 |
| horde | es_ES | 1961 | 0 | 0 |
| horde | zh_CN | 1496 | 0 | 64 |
| horde | zh_TW | 1864 | 7 | 50 |
| horde | hu_HU | 1412 | 0 | 510 |
| horde | fi_FI | 1948 | 0 | 0 |
| horde | et_EE | 239 | 0 | 8 |
| horde | ru_RU | 175 | 0 | 0 |
| horde | gl_ES | 182 | 0 | 0 |
| horde | ca_ES | 182 | 0 | 0 |
| horde | id_ID | 212 | 0 | 0 |
| horde | ro_RO | 172 | 0 | 0 |
| horde | sk_SK | 1896 | 0 | 4 |
| horde | lt_LT | 1818 | 0 | 0 |
| horde | de_DE | 1923 | 0 | 0 |
| horde | nl_NL | 1923 | 0 | 0 |
| horde | ja_JP | 709 | 0 | 837 |
| horde | sl_SI | 115 | 0 | 51 |
| horde | bg_BG | 518 | 0 | 0 |
| horde | fr_FR | 1922 | 0 | 0 |
| horde | ar_SY | 261 | 0 | 48 |
| horde | uk_UA | 116 | 0 | 50 |
| horde | it_IT | 437 | 270 | 238 |
| horde | mk_MK | 166 | 0 | 0 |
| horde | lv_LV | 172 | 0 | 0 |
| horde | nn_NO | 278 | 0 | 0 |
| horde | pl_PL | 175 | 0 | 0 |
*| horde | km_KH | 0 | 0 | 1935 | (Not yet
translate)*
| horde | da_DK | 177 | 0 | 0 |
| horde | cs_CZ | 1933 | 0 | 0 |
| horde | pt_BR | 145 | 0 | 0 |
| horde | pt_PT | 270 | 0 | 0 |
| horde | nb_NO | 166 | 0 | 0 |
| horde | sv_SE | 1126 | 0 | 775 |
| horde | tr_TR | 156 | 0 | 0 |
| horde | el_GR | 180 | 0 | 1 |
| horde | fa_IR | 841 | 0 | 134 |
| imp | ko_KR | 454 | 0 | 0 |
| imp | es_ES | 880 | 0 | 0 |
| imp | zh_CN | 284 | 13 | 227 |
| imp | zh_TW | 873 | 0 | 3 |
| imp | hu_HU | 880 | 0 | 0 |
| imp | fi_FI | 882 | 0 | 0 |
| imp | et_EE | 431 | 0 | 12 |
| imp | ru_RU | 530 | 0 | 0 |
| imp | gl_ES | 448 | 0 | 0 |
| imp | ca_ES | 445 | 0 | 0 |
| imp | id_ID | 465 | 0 | 0 |
| imp | ro_RO | 356 | 0 | 94 |
| imp | sk_SK | 877 | 0 | 0 |
| imp | lt_LT | 876 | 0 | 0 |
| imp | de_DE | 882 | 0 | 1 |
| imp | nl_NL | 883 | 0 | 0 |
| imp | ja_JP | 605 | 0 | 270 |
| imp | is_IS | 469 | 0 | 10 |
| imp | sl_SI | 446 | 0 | 6 |
| imp | bg_BG | 624 | 0 | 0 |
| imp | fr_FR | 882 | 0 | 0 |
| imp | th_TH | 418 | 0 | 5 |
| imp | ar_OM | 497 | 0 | 0 |
| imp | ar_SY | 460 | 0 | 0 |
| imp | uk_UA | 442 | 0 | 9 |
| imp | it_IT | 802 | 83 | 69 |
| imp | mk_MK | 452 | 0 | 0 |
| imp | lv_LV | 447 | 0 | 0 |
| imp | nn_NO | 626 | 0 | 0 |
| imp | pl_PL | 853 | 0 | 3 |
*| imp | km_KH | 1025 | 0 | 0 | (I only
translate IMP.PO and it is already done)*
| imp | da_DK | 454 | 0 | 0 |
| imp | cs_CZ | 883 | 0 | 0 |
| imp | pt_BR | 1007 | 0 | 0 |
| imp | pt_PT | 583 | 0 | 0 |
| imp | nb_NO | 451 | 0 | 0 |
| imp | sv_SE | 708 | 0 | 167 |
| imp | tr_TR | 455 | 0 | 0 |
| imp | el_GR | 491 | 0 | 0 |
| imp | fa_IR | 876 | 0 | 91 |
+--------+----------+------------+-------+--------------+
According to the result above, I got two different files name horde.mo
and imp.mo in directory
* /horde/locale/km_KH/LC_MESSAGES/horde.mo
* /horde/imp/locale/km_KH/LC_MESSAGES/imp.mo
Next step after I created the new translation, I have to add entries for
this locale in the configuration file horde/config/nls.php, please take
a look
4- Add Khmer language into file nls.php
* $nls['languages']['km_KH'] = 'Khmer (Cambodia)';
* $nls['aliases']['km'] = 'km_KH';
* $nls['charsets']['km_KH'] = 'UTF-8';
But at the end I still cannot using my Khmer Language in IMP. Please
take a look at screenshot
Your help is really appriciate very much.
Sincerely,
Pisey
--
ONG Pisey
OFIX System Administrator
Open Forum of Cambodia
House 245, Street 51
P.O.Box 177
Phnom Penh, Cambodia
Tel: +855-23-360345
Fax: +855-23-360345
Email: sey at of.forum.org.kh
Web: www.forum.org.kh
Please note that the above message may contain confidential information.
1. It is only intended for the person to whom this mail is addressed
in the To: and CC: options.
2. This mail including attachment may not be redistributed/edited for
business profit or any purpose without the permission from the owner.
Whoever is not listed as a recipient must not view this message, or
delete it from storage.
The sender does not accept any liability of errors or omissions in the
context of this message due to Internet transmission.
Your understanding is appreciated.
More information about the i18n
mailing list