my %langs = (
english => "en",
arabic => "ar",
+ armenian => "hy",
bulgarian => "bg",
catalan => "ca",
+ chinese => "zh",
+ croatian => "hr",
czech => "cs",
danish => "da",
+ dutch => "nl",
german => "de",
greek => "el",
esperanto => "eo",
spanish => "es",
finnish => "fi",
french => "fr",
- croatian => "hr",
hungarian => "hu",
indonesian => "id",
italian => "it",
japanese => "ja",
korean => "ko",
lithuanian => "lt",
- dutch => "nl",
norwegian => "no",
+ persian => "fa",
polish => "pl",
portuguese => "pt",
romanian => "ro",
slovene => "sl",
slovak => "sk",
turkish => "tr",
- chinese => "zh",
);
# language directory name => native name of the language
ar => 'عربية',
bg => 'Български',
ca => 'català',
- zh => '中文',
- hr => 'hrvatski',
cs => 'česky',
da => 'dansk',
- nl => 'Nederlands',
+ de => 'Deutsch',
+ el => 'Ελληνικά',
en => 'English',
eo => 'Esperanto',
+ es => 'español',
+ fa => 'فارسی',
fi => 'suomi',
fr => 'français',
- de => 'Deutsch',
- el => 'Ελληνικά',
hu => 'magyar',
+ hr => 'hrvatski',
+ hy => 'Հայերեն',
id => 'Indonesia',
it => 'Italiano',
ja => '日本語',
ko => '한국어',
lt => 'Lietuvių',
+ nl => 'Nederlands',
"no" => 'norsk (bokmål)',
pl => 'polski',
+ pt => 'Português (pt)',
pt_PT => 'Português (pt)',
pt_BR => 'Português (br)',
ro => 'română',
ru => 'Русский',
- es => 'español',
- sk => 'slovak', #FIXME
+ sk => 'slovensky',
+ sv => 'svenska',
sv_SE => 'svenska',
sl => 'slovenščina',
tr => 'Türkçe',
- uk => 'ukrainian', #FIXME
+ uk => 'українська',
+ zh => '中文',
+ zh_CN => '簡體中文',
+ zh_HK => '正體中文',
+ zh_TW => '正體中文',
);
# language directory name => Latin transliteration of the language name
my %translit = (
ar => "Arabiya",
bg => "Bəlgarski",
- zh => "Zhongzu", # Not printed due to Chinese-specific code; kept for sort order
el => "Ellinika",
+ fa => "Farsi",
+ hy => "hayeren",
ja => "Nihongo",
ko => "Hangul", # Not sure. "Hanguk-Mal" (=Spoken Korean)?
ru => "Russkij",
+ uk => "ukrajins'ka",
+ zh => "Zhongzu", # Not printed due to Chinese-specific code; kept for sort order
+ zh_CN => "Simplified Chinese",
+ zh_HK => "Traditional Chinese",
+ zh_TW => "Traditional Chinese",
);
# second transliteration table, used for languages starting with a latin