[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch for newer Microsoft LANG ids (Maldivian, Kyrgyz, Galician, Mongoli
From: |
Rapp, Perry |
Subject: |
Patch for newer Microsoft LANG ids (Maldivian, Kyrgyz, Galician, Mongolian) |
Date: |
Sat, 29 Jun 2002 07:12:03 -0400 |
I generated this via
diff -c fname1 fname2
(I don't know if that is the best way to make diffs.)
I can't say if anyone is using MS-Windows and/or gettext
in any of these lingual regions, but I think it wouldn't
hurt to test for these language identifiers.
Cordially,
Perry Rapp
**********************************************************************
*** gt/gettext-0.11.2/intl/localename.c Tue Feb 12 07:32:24 2002
--- /cygdrive/c/dev/lib/intls/gettext-0.11.2-w32/intl/localename.c
Sat Jun 29 06:57:45 2002
***************
*** 65,70 ****
--- 65,73 ----
# ifndef LANG_CATALAN
# define LANG_CATALAN 0x03
# endif
+ # ifndef LANG_DIVEHI
+ # define LANG_DIVEHI 0x65
+ # endif
# ifndef LANG_ESTONIAN
# define LANG_ESTONIAN 0x25
# endif
***************
*** 74,79 ****
--- 77,85 ----
# ifndef LANG_FARSI
# define LANG_FARSI 0x29
# endif
+ # ifndef LANG_GALICIAN
+ # define LANG_GALICIAN 0x56
+ # endif
# ifndef LANG_GEORGIAN
# define LANG_GEORGIAN 0x37
# endif
***************
*** 101,106 ****
--- 107,115 ----
# ifndef LANG_KONKANI
# define LANG_KONKANI 0x57
# endif
+ # ifndef LANG_KYRGYZ
+ # define LANG_KYRGYZ 0x40
+ # endif
# ifndef LANG_LATVIAN
# define LANG_LATVIAN 0x26
# endif
***************
*** 122,127 ****
--- 131,139 ----
# ifndef LANG_MARATHI
# define LANG_MARATHI 0x4e
# endif
+ # ifndef LANG_MONGOLIAN
+ # define LANG_MONGOLIAN 0x50
+ # endif
# ifndef LANG_NEPALI
# define LANG_NEPALI 0x61
# endif
***************
*** 146,151 ****
--- 158,166 ----
# ifndef LANG_SWAHILI
# define LANG_SWAHILI 0x41
# endif
+ # ifndef LANG_SYRIAC
+ # define LANG_SYRIAC 0x5a
+ # endif
# ifndef LANG_TAMIL
# define LANG_TAMIL 0x49
# endif
***************
*** 263,268 ****
--- 278,289 ----
# ifndef SUBLANG_KASHMIRI_INDIA
# define SUBLANG_KASHMIRI_INDIA 0x02
# endif
+ # ifndef SUBLANG_LITHUANIAN
+ # define SUBLANG_LITHUANIAN 0x01
+ # endif
+ # ifndef SUBLANG_LITHUANIAN_CLASSIC
+ # define SUBLANG_LITHUANIAN_CLASSIC 0x02
+ # endif
# ifndef SUBLANG_MALAY_MALAYSIA
# define SUBLANG_MALAY_MALAYSIA 0x01
# endif
***************
*** 496,501 ****
--- 517,527 ----
}
case LANG_CZECH: return "cs_CZ";
case LANG_DANISH: return "da_DK";
+ case LANG_DIVEHI:
+ /* FIXME: Adjust this if ISO-639-1 (2 letter) name issued. */
+ /* Maldivian, 200k speakers in the Maldives (acc to web) */
+ /* separate script from Sinhalese (acc. to web) */
+ return "div";
case LANG_DUTCH:
switch (sub)
{
***************
*** 540,545 ****
--- 566,576 ----
case SUBLANG_FRENCH_MONACO: return "fr_MC";
}
return "fr";
+ case LANG_GALICIAN:
+ /* FIXME: Should this be gl_ES ? */
+ /* Galician, one of the official languages of Galicia, Spain */
+ /* 2+ million speakers in Galicia (acc. to web) */
+ return "gl";
case LANG_GEORGIAN: return "ka_GE";
case LANG_GERMAN:
switch (sub)
***************
*** 579,586 ****
/* FIXME: Adjust this when such locales appear on Unix. */
return "kok_IN";
case LANG_KOREAN: return "ko_KR";
case LANG_LATVIAN: return "lv_LV";
! case LANG_LITHUANIAN: return "lt_LT";
case LANG_MACEDONIAN: return "mk_MK";
case LANG_MALAY:
switch (sub)
--- 610,623 ----
/* FIXME: Adjust this when such locales appear on Unix. */
return "kok_IN";
case LANG_KOREAN: return "ko_KR";
+ case LANG_KYRGYZ:
+ /* FIXME: Should this be ky_KG (for Kyrgyzstan) ? */
+ /* Kyrghiz/Kirgiz (same ?), 2,000,000 speakers in Kyrgyzstan
(acc. to web) */
+ return "ky";
case LANG_LATVIAN: return "lv_LV";
! case LANG_LITHUANIAN:
! /* FIXME: Do we care about SUBLANG_LITHUANIAN vs
SUBLANG_LITHUANIAN_CLASSIC ? */
! return "lt_LT";
case LANG_MACEDONIAN: return "mk_MK";
case LANG_MALAY:
switch (sub)
***************
*** 594,599 ****
--- 631,641 ----
/* FIXME: Adjust this when such locales appear on Unix. */
return "mni_IN";
case LANG_MARATHI: return "mr_IN";
+ case LANG_MONGOLIAN:
+ /* FIXME: Should this be mn_MN ? */
+ /* 1,900,000 speakers (acc. to web) */
+ /* Cyrillic adopted in 1921 (acc. to web) */
+ return "mn";
case LANG_NEPALI:
switch (sub)
{
***************
*** 664,669 ****
--- 706,715 ----
case SUBLANG_SWEDISH_FINLAND: return "sv_FI";
}
return "sv";
+ case LANG_SYRIAC:
+ /* FIXME: Adjust this if ISO-639-1 (2 letter) name issued. */
+ /* Possibly this is the same as Aramaic ? */
+ return "syr";
case LANG_TAMIL:
return "ta"; /* Ambiguous: could be "ta_IN" or "ta_LK" or
"ta_SG". */
case LANG_TATAR: return "tt";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Patch for newer Microsoft LANG ids (Maldivian, Kyrgyz, Galician, Mongolian),
Rapp, Perry <=