Sv: Language name translations



You can get a list of installed locales by looking in some /usr/shares/locales
for my localeconf I loop through these files and use a system call to get the
original names. I think hp did something like this with the redhat locale_conf 
app. Maybe you can look at that source or just try to run it

 -- Kenneth

----- Oprindelig meddelelse ----- 
Fra: Jonathan Blandford <jrb@redhat.com>
Til: <gnome-i18n@gnome.org>
Sendt: 1. februar 2002 22:08
Emne: Language name translations


> Hi,
> 
> Currently in GDM, we have a little table mapping language names to
> locales.  I would like to add an original, untranslated language to it,
> so that you can always see the language in the language you speak.  For
> example, we could have:
> 
> ...
> English (English)
> Español (Spanish)
> Français (French)
> ...
> 
> Does anyone know where I can get an untranslated list of language names?
> Also, I have posted a list below of all the languages/locales available.
> Are there any there that are missing?
> 
> Thanks,
> -Jonathan
> 
> 
> static Language languages [] = {
> { N_("Catalan"), "ca_ES" },
> { N_("Chinese (simplified)"), "zh_CN" },
> { N_("Chinese (traditional)"), "zh_TW" },
> { N_("Croatian"), "hr_HR" },
> { N_("Czech"), "cs_CZ" },
> { N_("Danish"), "da_DK" },
> { N_("Dutch"), "nl_NL" },
> { N_("English"), "en" },
> { N_("American English"), "en_US" },
> { N_("British English"), "en_GB" },
> { N_("Finnish"), "fi_FI" },
> { N_("French"), "fr_FR" },
> { N_("Galician"), "gl_ES" },
> { N_("German"), "de_DE" },
> { N_("Greek"), "el_GR" },
> { N_("Hebrew"), "iw_IL" },
> { N_("Hungarian"), "hu_HU" },
> { N_("Icelandic"), "is_IS" },
> { N_("Italian"), "it_IT" },
> { N_("Japanese"), "ja_JP" },
> { N_("Korean"), "ko_KR" },
> { N_("Lithuanian"), "lt_LT" },
> { N_("Norwegian (bokmal)"), "no_NO" },
> { N_("Norwegian (nynorsk)"), "nn_NO" },
> { N_("Polish"), "pl_PL" },
> { N_("Portuguese"), "pt_PT" },
> { N_("Brazilian Portuguese"), "pt_BR" },
> { N_("Romanian"), "ro_RO" },
> { N_("Russian"), "ru_RU" },
> { N_("Slovak"), "sk_SK" },
> { N_("Slovenian"), "sl_SI" },
> { N_("Spanish"), "es_ES" },
> { N_("Swedish"), "sv_SE" },
> { N_("Turkish"), "tr_TR" },
> { NULL, NULL }
> };
> _______________________________________________
> gnome-i18n mailing list
> gnome-i18n@gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-i18n




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]