Back to index

im-sdk  12.3.91
gimlet-lang-data.h
Go to the documentation of this file.
00001 /* translators: 
00002  * This means ASCII character input only, so in some locales,
00003  * translations for "NO Conversion" may be more proper.
00004  */
00005 #define DEFAULT_LANG N_("ASCII")
00006 
00007 typedef enum
00008 {
00009   ASCII,
00010 
00011   LATIN,
00012   CYRILLIC,
00013   GREEK,
00014   THAI,
00015   ARABIC,
00016   HEBREW,
00017   VIETNAMESE,
00018   ERITREAN,
00019   AMHARIC,
00020   TAMIL,
00021   BENGALI,
00022   KANNADA,
00023   GUJIRATI,
00024   GURMUKHI,
00025   HINDI,
00026   MALAYALAM,
00027   TELUGU,
00028 
00029   /* m17n language list */
00030   ASSAMESE,
00031   TIBETAN,
00032   DHIVEHI,
00033   FARSI,
00034   CROATIAN,
00035   ARMENIAN,
00036   GEORGIAN,
00037   KAZAKH,
00038   CAMBODIAN,
00039   LAOTHIAN,
00040   BURMESE,
00041   ORIYA,
00042   SINHALESE,
00043   SLOVAK,
00044   SERBIAN,
00045 
00046   KO_KR,
00047   JA_JP,
00048   ZH_CN,
00049   ZH_HK,
00050   ZH_TW,
00051 
00052   UNICODE,
00053 
00054   LAST_LANGUAGE
00055 } GimletLanguageIndex;
00056 
00057 struct _GimletLanguage
00058 {
00059   GimletLanguageIndex idx;
00060   gboolean valid;
00061   gboolean conversion_on;
00062   char     *description;
00063   gchar          *name;
00064   gchar          *iiim_lang_name;
00065 };
00066 
00067 static GimletLanguage g_languages[] = {
00068   { ASCII, TRUE, FALSE,
00069     DEFAULT_LANG, "ASCII", "ASCII", },
00070 
00071   {LATIN, FALSE, TRUE,
00072    N_("Latin"), "Latin", "en"},
00073   {LATIN, FALSE, TRUE,
00074    N_("Latin"), "Latin", "de"},
00075   {LATIN, FALSE, TRUE,
00076    N_("Latin"), "Latin", "fr"},
00077   {LATIN, FALSE, TRUE,
00078    N_("Latin"), "Latin", "pl"},
00079   {LATIN, FALSE, TRUE,
00080    N_("Latin"), "Latin", "es"},
00081   {LATIN, FALSE, TRUE,
00082    N_("Latin"), "Latin", "it"},
00083   {LATIN, FALSE, TRUE,
00084    N_("Latin"), "Latin", "pt_BR"},
00085   {LATIN, FALSE, TRUE,
00086    N_("Latin"), "Latin", "sv"},
00087   {LATIN, FALSE, TRUE,
00088    N_("Latin"), "Latin", "cs"},
00089   {LATIN, FALSE, TRUE,
00090    N_("Latin"), "Latin", "hu"},
00091 
00092   {CYRILLIC, FALSE, TRUE,
00093    N_("Cyrillic"), "русский", "ru_RU"},
00094   {GREEK, FALSE, TRUE, 
00095    N_("Greek"), "Greek", "el_GR"},
00096   {THAI, FALSE, TRUE,
00097    N_("Thai"), "ไทย", "th_TH"},
00098   {ARABIC, FALSE, TRUE,
00099    N_("Arabic"), "Arabic", "ar"},
00100   {HEBREW, FALSE, TRUE,
00101    N_("Hebrew"), "עברית", "he"},
00102   {VIETNAMESE, FALSE, TRUE,
00103    N_("Vietnamese"), "Việt Nam", "vi_VN"},
00104   {ERITREAN, FALSE, TRUE,
00105    N_("Eritrean"), "Eritrean", "ti_ER"},
00106   {AMHARIC, FALSE, TRUE,
00107    N_("Amharic"), "Amharic", "am_ET"},
00108 
00109   /* translators: Tamil is a name of Indic language. */
00110   {TAMIL, FALSE, TRUE,
00111    N_("Indic-Tamil"), "தமிழ்", "ta_IN"},
00112   /* translators: Bengali is a name of Indic language. */
00113   {BENGALI, FALSE, TRUE,
00114    N_("Indic-Bengali"), "বাংলা", "bn"},
00115   /* translators: Kannada is a name of Indic language. */
00116   {KANNADA, FALSE, TRUE,
00117    N_("Indic-Kannada"), "ಕನ್ನಡ", "kn_IN"},
00118   /* translators: Gujarati is a name of Indic language. */
00119   {GUJIRATI, FALSE, TRUE,
00120    N_("Indic-Gujarati"), "ગુજરાતી", "gu_IN"},
00121   /* translators: Pubjabi is a name of Indic language. */
00122   {GURMUKHI, FALSE, TRUE,
00123    N_("Indic-Punjabi"), "ਪੰਜਾਬੀ", "pa_IN"},
00124   /* translators: Hindi is a name of Indic language. */
00125   {HINDI, FALSE, TRUE,
00126    N_("Indic-Hindi"), "हिंदी", "hi_IN"},
00127   /* translators: Malayalam is a name of Indic language. */
00128   {MALAYALAM, FALSE, TRUE,
00129    N_("Indic-Malayalam"), "മലയാളം", "ml_IN"},
00130   /* translators: Telugu is a name of Indic language. */
00131   {TELUGU, FALSE, TRUE,
00132    N_("Indic-Telugu"), "Telugu", "te_IN"},
00133 
00134   /* m17n languages */
00135   {ASSAMESE, FALSE, TRUE,
00136    N_("Assamese"), "Assamese", "as"},
00137   {TIBETAN, FALSE, TRUE,
00138    N_("Tibetan"), "Tibetan", "bo"},
00139   {DHIVEHI, FALSE, TRUE,
00140    N_("Dhivehi"), "Dhivehi", "dv"},
00141   {FARSI, FALSE, TRUE,
00142    N_("Farsi"), "Farsi", "fa"},
00143   {CROATIAN, FALSE, TRUE,
00144    N_("Croatian"), "Croatian", "hr"},
00145   {ARMENIAN, FALSE, TRUE,
00146    N_("Armenian"), "Armenian", "hy"},
00147   {GEORGIAN, FALSE, TRUE,
00148    N_("Georgian"), "Georgian", "ka"},
00149   {KAZAKH, FALSE, TRUE,
00150    N_("Kazakh"), "Kazakh", "kk"},
00151   {CAMBODIAN, FALSE, TRUE,
00152    N_("Cambodian"), "Cambodian", "km"},
00153   {LAOTHIAN, FALSE, TRUE,
00154    N_("Laothian"), "Laothian", "lo"},
00155   {BURMESE, FALSE, TRUE,
00156    N_("Burmese"), "Burmese", "my"},
00157   {ORIYA, FALSE, TRUE,
00158    N_("Oriya"), "Oriya", "or"},
00159   {SINHALESE, FALSE, TRUE,
00160    N_("Sinhalese"), "Sinhalese", "si"},
00161   {SLOVAK, FALSE, TRUE,
00162    N_("Slovak"), "Slovak", "sk"},
00163   {SERBIAN, FALSE, TRUE,
00164    N_("Serbian"), "Serbian", "sr"},
00165 
00166   { KO_KR, FALSE, TRUE,
00167     N_("Korean"), "한국어", "ko"},
00168   { JA_JP, FALSE, TRUE,
00169     N_("Japanese"), "日本語", "ja"},
00170 
00171   { ZH_CN, FALSE, TRUE,
00172     N_("S-Chinese"), "中文 (简体)", "zh_CN"},
00173   { ZH_HK, FALSE, TRUE,
00174     N_("T-Chinese (Hong Kong)"), "中文 (繁體) (香港)", "zh_HK"},
00175   { ZH_TW, FALSE, TRUE,
00176     N_("T-Chinese"), "中文 (繁體)", "zh_TW"},
00177 
00178   { UNICODE, FALSE, TRUE,
00179      N_("Unicode"), "Unicode",  "UNICODE-HEX"}
00180 };
00181