1 # Taken from the webwml CVS tree (english/templates/language_names.wml)
3 package Packages::I18N::LanguageNames;
9 use Packages::I18N::Locale;
11 our @ISA = qw( Exporter );
12 our @EXPORT = qw( get_language_name get_all_languages );
29 pt => N_("Portuguese"),
30 pt_BR => N_("Portuguese (Brasilia)"),
31 pt_PT => N_("Portuguese (Portugal)"),
33 zh_CN => N_("Chinese (China)"),
34 zh_HK => N_("Chinese (Hong Kong)"),
35 zh_TW => N_("Chinese (Taiwan)"),
37 sv_SE => N_("Swedish"),
39 'no' => N_("Norwegian"),
40 'tr' => N_("Turkish"),
43 eo => N_("Esperanto"),
44 hu => N_("Hungarian"),
49 lt => N_("Lithuanian"),
51 bg => N_("Bulgarian"),
52 uk => N_("Ukrainian"),
55 sub get_language_name {
56 return $ctrans{$_[0]};
59 sub get_all_languages {