2004-06-11 04:50:29 +00:00
|
|
|
|
<?php
|
2005-04-05 11:08:23 +00:00
|
|
|
|
/**
|
2007-02-16 02:31:36 +00:00
|
|
|
|
* These determine things like interwikis, language selectors, and so on.
|
|
|
|
|
|
* Safe to change without running scripts on the respective sites.
|
|
|
|
|
|
*
|
WARNING: HUGE COMMIT
Doxygen documentation update:
* Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group.
* Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file.
* Removed some empty comments
* Removed some ?>
Added following groups:
* ExternalStorage
* JobQueue
* MaintenanceLanguage
One more thing: there are still a lot of warnings when generating the doc.
2008-05-20 17:13:28 +00:00
|
|
|
|
* @ingroup Language
|
2005-04-05 11:08:23 +00:00
|
|
|
|
*/
|
The beginnings of HipHop compiled mode support. It works now for parser cache hits.
* Work around HipHop issue 314 (volatile broken) and issue 308 (no compilation detection) by adding some large and ugly compilation detection code to WebStart.php and doMaintenance.php.
* Provide an MW_COMPILED constant which can be used to detect compiled mode throughout the codebase.
* Introduced wfIsHipHop(), which detects either compiled or interpreted mode. Used this to work around unusual eval() return value in eval.php.
* Work around lack of ini_get() in Maintenance.php, by duplicating wfIsHipHop().
* In Maintenance::shouldExecute(), accept "include" as an inclusion function name, since all kinds of inclusion give this string in HipHop.
* Introduced new class MWInit, which provides some static functions in the pre-autoloader environment.
* Introduced MWInit::compiledPath(), which provides a relative path for invoking a compiled file, and MWInit::interpretedPath(), which provides an absolute path for interpreting a PHP file. Used these new functions in the appropriate places.
* When we are running compiled code, don't include files which would generate duplicate class, function or constant definitions. Documented the new requirements on the contents of Defines.php and UtfNormalDefines.php.
* In HipHop compiled mode, it's not possible to have executable code in the same file as a class definition.
** Moved MimeMagic initialisation to the constructor.
** Moved Namespace.php global variable initialisation to Setup.php.
** Moved MemcachedSessions.php initialisation to the caller in GlobalFunctions.php.
** Moved Sanitizer.php constants and global variables to static class members. Introduced an accessor function for the attribs regex, as a new place to put code formerly at file level.
** Moved Language.php initialisation of $wgLanguageNames to Language::getLanguageNames(). Removed the global variable, marked "private" since forever.
* In two places: don't use error_log() with type=3 to append to a file, HipHop doesn't support it. Use file_put_contents() with FILE_APPEND instead.
* Work around the terrible breakage of class_exists() by using MWInit::classExists() instead in various places. In WebInstaller::getPageByName(), the class_exists() was marked with a fixme comment already, so I replaced it with an autoloader solution.
2011-04-04 12:59:55 +00:00
|
|
|
|
/* private */ $coreLanguageNames = array(
|
2009-02-04 10:26:26 +00:00
|
|
|
|
'aa' => 'Qafár af', # Afar
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'ab' => 'Аҧсуа', # Abkhaz, should possibly add ' бысжѡа'
|
2009-01-16 16:53:32 +00:00
|
|
|
|
'ace' => 'Acèh', # Aceh
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'af' => 'Afrikaans', # Afrikaans
|
2007-10-25 16:56:35 +00:00
|
|
|
|
'ak' => 'Akan', # Akan
|
2008-01-04 12:50:21 +00:00
|
|
|
|
'aln' => 'Gegë', # Gheg Albanian
|
2008-02-04 20:08:12 +00:00
|
|
|
|
'als' => 'Alemannisch', # Alemannic -- not a valid code, for compatibility. See gsw.
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'am' => 'አማርኛ', # Amharic
|
|
|
|
|
|
'an' => 'Aragonés', # Aragonese
|
2010-04-22 20:21:30 +00:00
|
|
|
|
'ang' => 'Ænglisc', # Old English (Bug 23283)
|
2011-04-16 19:11:20 +00:00
|
|
|
|
'anp' => 'अङ्गिका', # Angika
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'ar' => 'العربية', # Arabic
|
2007-02-16 02:31:36 +00:00
|
|
|
|
'arc' => 'ܐܪܡܝܐ', # Aramaic
|
2007-09-08 13:44:58 +00:00
|
|
|
|
'arn' => 'Mapudungun', # Mapuche, Mapudungu, Araucanian (Araucano)
|
2010-07-27 19:36:07 +00:00
|
|
|
|
'ary' => 'Maġribi', # Moroccan Spoken Arabic
|
2008-04-12 11:13:16 +00:00
|
|
|
|
'arz' => 'مصرى', # Egyptian Spoken Arabic
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'as' => 'অসমীয়া', # Assamese
|
2005-01-30 21:39:32 +00:00
|
|
|
|
'ast' => 'Asturianu', # Asturian
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'av' => 'Авар', # Avar
|
2008-01-17 00:10:09 +00:00
|
|
|
|
'avk' => 'Kotava', # Kotava
|
2008-10-31 15:44:39 +00:00
|
|
|
|
'ay' => 'Aymar aru', # Aymara
|
2010-05-01 19:24:56 +00:00
|
|
|
|
'az' => 'Azərbaycanca', # Azerbaijani
|
2011-01-09 12:56:04 +00:00
|
|
|
|
'ba' => 'Башҡортса', # Bashkir
|
2006-09-30 19:27:38 +00:00
|
|
|
|
'bar' => 'Boarisch', # Bavarian (Austro-Bavarian and South Tyrolean)
|
2010-10-14 09:14:45 +00:00
|
|
|
|
'bat-smg' => 'Žemaitėška', # Samogitian (deprecated code, 'sgs' in ISO 693-3 since 2010-06-30 )
|
2008-06-10 00:10:47 +00:00
|
|
|
|
'bcc' => 'بلوچی مکرانی', # Southern Balochi
|
2007-08-31 17:53:08 +00:00
|
|
|
|
'bcl' => 'Bikol Central', # Bikol: Central Bicolano language
|
2007-04-02 18:50:34 +00:00
|
|
|
|
'be' => 'Беларуская', # Belarusian normative
|
2011-01-09 13:10:56 +00:00
|
|
|
|
'be-tarask' => "\xE2\x80\xAAБеларуская (тарашкевіца)\xE2\x80\xAC", # Belarusian in Taraskievica orthography
|
|
|
|
|
|
'be-x-old' => "\xE2\x80\xAAБеларуская (тарашкевіца)\xE2\x80\xAC", # Belarusian in Taraskievica orthography; compat link
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'bg' => 'Български', # Bulgarian
|
2011-05-08 07:37:07 +00:00
|
|
|
|
'bh' => 'भोजपुरी', # Bihari marco language. Falls back to Bhojpuri (bho).
|
|
|
|
|
|
'bho' => 'भोजपुरी', # Bhojpuri
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'bi' => 'Bislama', # Bislama
|
2010-07-27 19:36:07 +00:00
|
|
|
|
'bjn' => 'Bahasa Banjar', # Banjarese
|
2005-01-30 21:39:32 +00:00
|
|
|
|
'bm' => 'Bamanankan', # Bambara
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'bn' => 'বাংলা', # Bengali
|
|
|
|
|
|
'bo' => 'བོད་ཡིག', # Tibetan
|
2006-07-17 19:27:03 +00:00
|
|
|
|
'bpy' => 'ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী', # Bishnupriya Manipuri
|
2008-09-27 22:25:05 +00:00
|
|
|
|
'bqi' => 'بختياري', # Bakthiari
|
2004-08-09 22:57:53 +00:00
|
|
|
|
'br' => 'Brezhoneg', # Breton
|
2011-04-16 19:11:20 +00:00
|
|
|
|
'brh' => 'Bráhuí', # Brahui
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'bs' => 'Bosanski', # Bosnian
|
2007-12-18 19:40:13 +00:00
|
|
|
|
'bug' => 'ᨅᨔ ᨕᨘᨁᨗ', # Bugis
|
2006-09-30 19:27:38 +00:00
|
|
|
|
'bxr' => 'Буряад', # Buryat (Russia)
|
2005-04-03 20:33:09 +00:00
|
|
|
|
'ca' => 'Català', # Catalan
|
2007-12-15 13:19:47 +00:00
|
|
|
|
'cbk-zam' => 'Chavacano de Zamboanga', # Zamboanga Chavacano
|
2006-09-30 19:27:38 +00:00
|
|
|
|
'cdo' => 'Mìng-dĕ̤ng-ngṳ̄', # Min Dong
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'ce' => 'Нохчийн', # Chechen
|
2005-06-22 08:15:22 +00:00
|
|
|
|
'ceb' => 'Cebuano', # Cebuano
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'ch' => 'Chamoru', # Chamorro
|
2005-01-30 21:39:32 +00:00
|
|
|
|
'cho' => 'Choctaw', # Choctaw
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'chr' => 'ᏣᎳᎩ', # Cherokee
|
2005-04-03 20:33:09 +00:00
|
|
|
|
'chy' => 'Tsetsêhestâhese', # Cheyenne
|
2010-08-01 06:10:10 +00:00
|
|
|
|
'ckb' => 'کوردی', # Sorani
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'co' => 'Corsu', # Corsican
|
2010-01-11 23:05:02 +00:00
|
|
|
|
'cps' => 'Capiceño', # Capiznon
|
2007-03-01 16:49:33 +00:00
|
|
|
|
'cr' => 'Nēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣ', # Cree
|
2010-08-26 08:03:07 +00:00
|
|
|
|
'crh' => 'Qırımtatarca', # Crimean Tatar (multiple scripts - defaults to Latin)
|
2007-02-28 16:35:10 +00:00
|
|
|
|
'crh-latn' => "\xE2\x80\xAAQırımtatarca (Latin)\xE2\x80\xAC", # Crimean Tatar (Latin)
|
Localisation updates from Betawiki.
* an, ar, br, ca, crh-cyrl, crh-latn, cs, dum (new), fi, fr, hr, it, kn, la, myv, nl, no, qu, sdc, wuu
* Adding 'dum' to interface langauges
* Fixing 'crh-cyrl' in interface languages
* Update RELEASE-NOTES
2007-12-02 22:59:51 +00:00
|
|
|
|
'crh-cyrl' => "\xE2\x80\xAAКъырымтатарджа (Кирилл)\xE2\x80\xAC", # Crimean Tatar (Cyrillic)
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'cs' => 'Česky', # Czech
|
2005-07-11 23:52:42 +00:00
|
|
|
|
'csb' => 'Kaszëbsczi', # Cassubian
|
2009-08-08 00:19:11 +00:00
|
|
|
|
'cu' => 'Словѣ́ньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ', # Old Church Slavonic (ancient language)
|
2009-05-17 14:17:55 +00:00
|
|
|
|
'cv' => 'Чӑвашла', # Chuvash
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'cy' => 'Cymraeg', # Welsh
|
|
|
|
|
|
'da' => 'Dansk', # Danish
|
2008-01-14 15:02:38 +00:00
|
|
|
|
'de' => 'Deutsch', # German ("Du")
|
2009-01-27 20:53:14 +00:00
|
|
|
|
'de-at' => 'Österreichisches Deutsch', # Austrian German
|
|
|
|
|
|
'de-ch' => 'Schweizer Hochdeutsch', # Swiss Standard German
|
2011-01-09 13:10:56 +00:00
|
|
|
|
'de-formal' => "\xE2\x80\xAADeutsch (Sie-Form)\xE2\x80\xAC", # German - formal address ("Sie")
|
2006-09-30 19:27:38 +00:00
|
|
|
|
'diq' => 'Zazaki', # Zazaki
|
2007-09-11 15:57:45 +00:00
|
|
|
|
'dsb' => 'Dolnoserbski', # Lower Sorbian
|
2011-04-16 19:11:20 +00:00
|
|
|
|
'dtp' => 'Dusun Bundu-liwan', # Central Dusun
|
2005-09-24 08:02:55 +00:00
|
|
|
|
'dv' => 'ދިވެހިބަސް', # Dhivehi
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'dz' => 'ཇོང་ཁ', # Bhutani
|
2007-12-18 19:40:13 +00:00
|
|
|
|
'ee' => 'Eʋegbe', # Éwé
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'el' => 'Ελληνικά', # Greek
|
2007-12-18 19:40:13 +00:00
|
|
|
|
'eml' => 'Emiliàn e rumagnòl', # Emiliano-Romagnolo / Sammarinese
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'en' => 'English', # English
|
2008-04-09 09:04:12 +00:00
|
|
|
|
'en-gb' => 'British English', # British English
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'eo' => 'Esperanto', # Esperanto
|
2005-04-03 20:33:09 +00:00
|
|
|
|
'es' => 'Español', # Spanish
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'et' => 'Eesti', # Estonian
|
|
|
|
|
|
'eu' => 'Euskara', # Basque
|
2007-08-31 17:31:31 +00:00
|
|
|
|
'ext' => 'Estremeñu', # Extremaduran
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'fa' => 'فارسی', # Persian
|
2007-12-18 19:40:13 +00:00
|
|
|
|
'ff' => 'Fulfulde', # Fulfulde, Maasina
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'fi' => 'Suomi', # Finnish
|
2009-01-24 09:59:37 +00:00
|
|
|
|
'fiu-vro' => 'Võro', # Võro (deprecated code, 'vro' in ISO 639-3 since 2009-01-16)
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'fj' => 'Na Vosa Vakaviti', # Fijian
|
2005-04-03 20:33:09 +00:00
|
|
|
|
'fo' => 'Føroyskt', # Faroese
|
|
|
|
|
|
'fr' => 'Français', # French
|
2007-09-04 19:02:35 +00:00
|
|
|
|
'frc' => 'Français cadien', # Cajun French
|
2007-08-31 11:26:01 +00:00
|
|
|
|
'frp' => 'Arpetan', # Franco-Provençal/Arpitan
|
2010-08-21 18:08:59 +00:00
|
|
|
|
'frr' => 'Nordfriisk', # North Frisian
|
2005-01-25 06:27:22 +00:00
|
|
|
|
'fur' => 'Furlan', # Friulian
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'fy' => 'Frysk', # Frisian
|
|
|
|
|
|
'ga' => 'Gaeilge', # Irish
|
2008-01-16 16:10:48 +00:00
|
|
|
|
'gag' => 'Gagauz', # Gagauz
|
2010-08-26 08:03:07 +00:00
|
|
|
|
'gan' => '贛語', # Gan (multiple scripts - defaults to Traditional)
|
2011-01-09 13:10:56 +00:00
|
|
|
|
'gan-hans' => "\xE2\x80\xAA赣语(简体)\xE2\x80\xAC", # Gan (Simplified Han)
|
|
|
|
|
|
'gan-hant' => "\xE2\x80\xAA贛語(繁體)\xE2\x80\xAC", # Gan (Traditional Han)
|
2005-04-03 20:33:09 +00:00
|
|
|
|
'gd' => 'Gàidhlig', # Scots Gaelic
|
2007-06-09 12:48:27 +00:00
|
|
|
|
'gl' => 'Galego', # Galician
|
2006-09-30 19:27:38 +00:00
|
|
|
|
'glk' => 'گیلکی', # Gilaki
|
2007-12-18 19:40:13 +00:00
|
|
|
|
'gn' => 'Avañe\'ẽ', # Guaraní, Paraguayan
|
2011-09-05 18:37:50 +00:00
|
|
|
|
'got' => '𐌲𐌿𐍄𐌹𐍃𐌺', # Gothic
|
2009-02-16 07:03:21 +00:00
|
|
|
|
'grc' => 'Ἀρχαία ἑλληνικὴ', # Ancient Greek
|
2006-02-24 21:15:33 +00:00
|
|
|
|
'gsw' => 'Alemannisch', # Alemannic
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'gu' => 'ગુજરાતી', # Gujarati
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'gv' => 'Gaelg', # Manx
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'ha' => 'هَوُسَ', # Hausa
|
2007-05-29 14:11:07 +00:00
|
|
|
|
'hak' => 'Hak-kâ-fa', # Hakka
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'haw' => 'Hawai`i', # Hawaiian
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'he' => 'עברית', # Hebrew
|
|
|
|
|
|
'hi' => 'हिन्दी', # Hindi
|
2010-08-26 08:03:07 +00:00
|
|
|
|
'hif' => 'Fiji Hindi', # Fijian Hindi (multiple scripts - defaults to Latin)
|
2008-05-29 02:56:17 +00:00
|
|
|
|
'hif-latn' => 'Fiji Hindi', # Fiji Hindi (latin)
|
2006-10-27 16:04:25 +00:00
|
|
|
|
'hil' => 'Ilonggo', # Hiligaynon
|
2005-01-30 21:39:32 +00:00
|
|
|
|
'ho' => 'Hiri Motu', # Hiri Motu
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'hr' => 'Hrvatski', # Croatian
|
2006-09-30 19:27:38 +00:00
|
|
|
|
'hsb' => 'Hornjoserbsce', # Upper Sorbian
|
2007-12-18 19:40:13 +00:00
|
|
|
|
'ht' => 'Kreyòl ayisyen', # Haitian Creole French
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'hu' => 'Magyar', # Hungarian
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'hy' => 'Հայերեն', # Armenian
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'hz' => 'Otsiherero', # Herero
|
|
|
|
|
|
'ia' => 'Interlingua', # Interlingua (IALA)
|
|
|
|
|
|
'id' => 'Bahasa Indonesia', # Indonesian
|
|
|
|
|
|
'ie' => 'Interlingue', # Interlingue (Occidental)
|
|
|
|
|
|
'ig' => 'Igbo', # Igbo
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'ii' => 'ꆇꉙ', # Sichuan Yi
|
2007-12-18 19:40:13 +00:00
|
|
|
|
'ik' => 'Iñupiak', # Inupiak (Inupiatun, Northwest Alaska / Inupiatun, North Alaskan)
|
2007-12-21 19:17:33 +00:00
|
|
|
|
'ike-cans' => 'ᐃᓄᒃᑎᑐᑦ', # Inuktitut, Eastern Canadian/Eastern Canadian "Eskimo"/"Eastern Arctic Eskimo"/Inuit (Unified Canadian Aboriginal Syllabics)
|
|
|
|
|
|
'ike-latn' => 'inuktitut', # Inuktitut, Eastern Canadian (Latin script)
|
2005-10-07 13:29:37 +00:00
|
|
|
|
'ilo' => 'Ilokano', # Ilokano
|
Localisation updates from Betawiki.
* bcl, br, cy, dsb, fo, fr, hy, inh (new), is, nah, scn, sdc, sei, tet, tl, war
2007-10-13 09:56:07 +00:00
|
|
|
|
'inh' => 'ГІалгІай Ğalğaj', # Ingush
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'io' => 'Ido', # Ido
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'is' => 'Íslenska', # Icelandic
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'it' => 'Italiano', # Italian
|
2007-12-21 19:17:33 +00:00
|
|
|
|
'iu' => 'ᐃᓄᒃᑎᑐᑦ/inuktitut', # Inuktitut (macro language - do no localise, see ike/ikt - falls back to ike-cans)
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'ja' => '日本語', # Japanese
|
2011-04-16 19:11:20 +00:00
|
|
|
|
'jam' => 'Patios', # Jamaican Creole English
|
2005-01-30 21:39:32 +00:00
|
|
|
|
'jbo' => 'Lojban', # Lojban
|
2008-02-07 22:06:25 +00:00
|
|
|
|
'jut' => 'Jysk', # Jutish / Jutlandic
|
2005-04-15 13:46:08 +00:00
|
|
|
|
'jv' => 'Basa Jawa', # Javanese
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'ka' => 'ქართული', # Georgian
|
2006-10-22 10:15:03 +00:00
|
|
|
|
'kaa' => 'Qaraqalpaqsha', # Karakalpak
|
2007-04-10 21:56:42 +00:00
|
|
|
|
'kab' => 'Taqbaylit', # Kabyle
|
2011-08-08 17:34:37 +00:00
|
|
|
|
'kbd' => 'Адыгэбзэ', # Kabardian
|
|
|
|
|
|
'kbd-cyrl' => 'Адыгэбзэ', # Kabardian (Cyrillic)
|
2010-07-27 19:36:07 +00:00
|
|
|
|
'kg' => 'Kongo', # Kongo, (FIXME!) should probaly be KiKongo or KiKoongo
|
2011-04-16 19:11:20 +00:00
|
|
|
|
'khw' => 'کھوار', # Khowar
|
2007-12-18 19:40:13 +00:00
|
|
|
|
'ki' => 'Gĩkũyũ', # Gikuyu
|
2009-10-08 10:58:47 +00:00
|
|
|
|
'kiu' => 'Kırmancki', # Kirmanjki
|
2010-07-27 19:36:07 +00:00
|
|
|
|
'kj' => 'Kwanyama', # Kwanyama
|
2010-08-26 08:03:07 +00:00
|
|
|
|
'kk' => 'Қазақша', # Kazakh (multiple scripts - defaults to Cyrillic)
|
2007-12-09 16:24:35 +00:00
|
|
|
|
'kk-arab' => "\xE2\x80\xABقازاقشا (تٴوتە)\xE2\x80\xAC", # Kazakh Arabic
|
|
|
|
|
|
'kk-cyrl' => "\xE2\x80\xAAҚазақша (кирил)\xE2\x80\xAC", # Kazakh Cyrillic
|
|
|
|
|
|
'kk-latn' => "\xE2\x80\xAAQazaqşa (latın)\xE2\x80\xAC", # Kazakh Latin
|
|
|
|
|
|
'kk-cn' => "\xE2\x80\xABقازاقشا (جۇنگو)\xE2\x80\xAC", # Kazakh (China)
|
|
|
|
|
|
'kk-kz' => "\xE2\x80\xAAҚазақша (Қазақстан)\xE2\x80\xAC", # Kazakh (Kazakhstan)
|
|
|
|
|
|
'kk-tr' => "\xE2\x80\xAAQazaqşa (Türkïya)\xE2\x80\xAC", # Kazakh (Turkey)
|
2007-12-21 19:17:33 +00:00
|
|
|
|
'kl' => 'Kalaallisut', # Inuktitut, Greenlandic/Greenlandic/Kalaallisut (kal)
|
2007-12-18 19:40:13 +00:00
|
|
|
|
'km' => 'ភាសាខ្មែរ', # Khmer, Central
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'kn' => 'ಕನ್ನಡ', # Kannada
|
|
|
|
|
|
'ko' => '한국어', # Korean
|
2009-07-29 14:32:06 +00:00
|
|
|
|
'ko-kp' => '한국어 (조선)', # Korean (DPRK)
|
2010-01-02 22:55:25 +00:00
|
|
|
|
'koi' => 'Перем Коми', # Komi-Permyak
|
2007-12-18 19:40:13 +00:00
|
|
|
|
'kr' => 'Kanuri', # Kanuri, Central
|
2009-11-01 00:13:15 +00:00
|
|
|
|
'krc' => 'Къарачай-Малкъар', # Karachay-Balkar
|
2007-12-19 12:58:04 +00:00
|
|
|
|
'kri' => 'Krio', # Krio
|
2007-09-04 19:02:35 +00:00
|
|
|
|
'krj' => 'Kinaray-a', # Kinaray-a
|
2011-07-15 23:28:30 +00:00
|
|
|
|
'ks' => 'कश्मीरी - (كشميري)', # Kashmiri (multiple scripts - defaults to Perso-Arabic)
|
|
|
|
|
|
'ks-arab' => 'كشميري', # Kashmiri (Perso-Arabic script)
|
|
|
|
|
|
'ks-deva' => 'कश्मीरी', # Kashmiri (Devanagari script)
|
2010-07-29 09:43:18 +00:00
|
|
|
|
'ksh' => 'Ripoarisch', # Ripuarian
|
2010-08-26 08:03:07 +00:00
|
|
|
|
'ku' => 'Kurdî', # Kurdish (multiple scripts - defaults to Latin)
|
|
|
|
|
|
'ku-latn' => "\xE2\x80\xAAKurdî (latînî)\xE2\x80\xAC", # Northern Kurdish (Latin script)
|
|
|
|
|
|
'ku-arab' => "\xE2\x80\xABكوردي (عەرەبی)\xE2\x80\xAC", # Northern Kurdish (Arabic script) (falls back to ckb)
|
|
|
|
|
|
'kv' => 'Коми', # Komi-Zyrian (Cyrillic is common script but also written in Latin script)
|
2010-12-22 17:20:50 +00:00
|
|
|
|
'kw' => 'Kernowek', # Cornish
|
2006-05-06 20:30:33 +00:00
|
|
|
|
'ky' => 'Кыргызча', # Kirghiz
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'la' => 'Latina', # Latin
|
2005-09-25 10:57:51 +00:00
|
|
|
|
'lad' => 'Ladino', # Ladino
|
2005-04-03 20:33:09 +00:00
|
|
|
|
'lb' => 'Lëtzebuergesch', # Luxemburguish
|
2007-12-16 17:48:24 +00:00
|
|
|
|
'lbe' => 'Лакку', # Lak
|
2007-12-16 22:15:40 +00:00
|
|
|
|
'lez' => 'Лезги', # Lezgi
|
2008-01-19 00:17:46 +00:00
|
|
|
|
'lfn' => 'Lingua Franca Nova', # Lingua Franca Nova
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'lg' => 'Luganda', # Ganda
|
2005-05-14 17:50:33 +00:00
|
|
|
|
'li' => 'Limburgs', # Limburgian
|
2006-03-24 22:10:00 +00:00
|
|
|
|
'lij' => 'Líguru', # Ligurian
|
2011-04-12 17:07:58 +00:00
|
|
|
|
'liv' => 'Līvõ kēļ', # Livonian
|
2005-10-24 06:50:54 +00:00
|
|
|
|
'lmo' => 'Lumbaart', # Lombard
|
2007-01-08 19:57:28 +00:00
|
|
|
|
'ln' => 'Lingála', # Lingala
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'lo' => 'ລາວ',# Laotian
|
2007-10-20 18:22:42 +00:00
|
|
|
|
'loz' => 'Silozi', # Lozi
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'lt' => 'Lietuvių', # Lithuanian
|
2010-04-03 13:44:03 +00:00
|
|
|
|
'ltg' => 'Latgaļu', # Latgalian
|
2005-04-03 21:02:36 +00:00
|
|
|
|
'lv' => 'Latviešu', # Latvian
|
2009-01-21 15:04:46 +00:00
|
|
|
|
'lzh' => '文言', # Literary Chinese -- (bug 8217) lzh instead of zh-classical, http://www.sil.org/iso639-3/codes.asp?order=639_3&letter=l
|
2010-02-14 19:44:39 +00:00
|
|
|
|
'lzz' => 'Lazuri', # Laz
|
2008-02-02 15:43:57 +00:00
|
|
|
|
'mai' => 'मैथिली', # Maithili
|
2010-07-29 09:43:18 +00:00
|
|
|
|
'map-bms' => 'Basa Banyumasan', # Banyumasan
|
2008-05-31 12:04:28 +00:00
|
|
|
|
'mdf' => 'Мокшень', # Moksha
|
2005-01-30 21:39:32 +00:00
|
|
|
|
'mg' => 'Malagasy', # Malagasy
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'mh' => 'Ebon', # Marshallese
|
2008-10-16 14:49:12 +00:00
|
|
|
|
'mhr' => 'Олык Марий', # Eastern Mari
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'mi' => 'Māori', # Maori
|
2010-08-30 21:00:57 +00:00
|
|
|
|
'min' => 'Baso Minangkabau', # Minangkabau
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'mk' => 'Македонски', # Macedonian
|
|
|
|
|
|
'ml' => 'മലയാളം', # Malayalam
|
2008-03-14 17:01:15 +00:00
|
|
|
|
'mn' => 'Монгол', # Halh Mongolian (Cyrillic) (ISO 639-3: khk)
|
2005-07-25 21:34:54 +00:00
|
|
|
|
'mo' => 'Молдовеняскэ', # Moldovan
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'mr' => 'मराठी', # Marathi
|
2009-11-21 23:52:17 +00:00
|
|
|
|
'mrj' => 'Кырык мары', # Hill Mari
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'ms' => 'Bahasa Melayu', # Malay
|
2005-11-12 08:21:57 +00:00
|
|
|
|
'mt' => 'Malti', # Maltese
|
2007-12-18 22:48:11 +00:00
|
|
|
|
'mus' => 'Mvskoke', # Muskogee/Creek
|
2008-02-28 08:53:35 +00:00
|
|
|
|
'mwl' => 'Mirandés', # Mirandese
|
2009-05-12 20:40:44 +00:00
|
|
|
|
'my' => 'မြန်မာဘာသာ', # Burmese
|
2009-10-10 10:41:15 +00:00
|
|
|
|
'myv' => 'Эрзянь', # Erzya
|
|
|
|
|
|
'mzn' => 'مازِرونی', # Mazanderani
|
2008-08-09 14:52:04 +00:00
|
|
|
|
'na' => 'Dorerin Naoero', # Nauruan
|
2008-08-03 09:40:07 +00:00
|
|
|
|
'nah' => 'Nāhuatl', # Nahuatl, en:Wikipedia writes Nahuatlahtolli, while another form is Náhuatl
|
2006-12-11 16:16:38 +00:00
|
|
|
|
'nan' => 'Bân-lâm-gú', # Min-nan -- (bug 8217) nan instead of zh-min-nan, http://www.sil.org/iso639-3/codes.asp?order=639_3&letter=n
|
2005-09-25 10:57:51 +00:00
|
|
|
|
'nap' => 'Nnapulitano', # Neapolitan
|
2007-02-28 16:35:10 +00:00
|
|
|
|
'nb' => "\xE2\x80\xAANorsk (bokmål)\xE2\x80\xAC", # Norwegian (Bokmal)
|
2005-04-03 20:33:09 +00:00
|
|
|
|
'nds' => 'Plattdüütsch', # Low German ''or'' Low Saxon
|
2006-03-24 22:10:00 +00:00
|
|
|
|
'nds-nl' => 'Nedersaksisch', # Dutch Low Saxon
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'ne' => 'नेपाली', # Nepali
|
2006-09-30 19:27:38 +00:00
|
|
|
|
'new' => 'नेपाल भाषा', # Newar / Nepal Bhasa
|
2005-03-13 18:17:47 +00:00
|
|
|
|
'ng' => 'Oshiwambo', # Ndonga
|
2007-12-16 22:15:40 +00:00
|
|
|
|
'niu' => 'Niuē', # Niuean
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'nl' => 'Nederlands', # Dutch
|
2011-01-09 13:10:56 +00:00
|
|
|
|
'nl-informal' => "\xE2\x80\xAANederlands (informeel)\xE2\x80\xAC", # Dutch (informal address ("je"))
|
2007-12-21 19:17:33 +00:00
|
|
|
|
'nn' => "\xE2\x80\xAANorsk (nynorsk)\xE2\x80\xAC", # Norwegian (Nynorsk)
|
2007-02-28 16:35:10 +00:00
|
|
|
|
'no' => "\xE2\x80\xAANorsk (bokmål)\xE2\x80\xAC", # Norwegian
|
2006-09-30 19:27:38 +00:00
|
|
|
|
'nov' => 'Novial', # Novial
|
2006-03-24 22:10:00 +00:00
|
|
|
|
'nrm' => 'Nouormand', # Norman
|
2007-12-16 22:15:40 +00:00
|
|
|
|
'nso' => 'Sesotho sa Leboa', # Northern Sotho
|
2005-04-03 20:33:09 +00:00
|
|
|
|
'nv' => 'Diné bizaad', # Navajo
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'ny' => 'Chi-Chewa', # Chichewa
|
|
|
|
|
|
'oc' => 'Occitan', # Occitan
|
2009-08-08 00:19:11 +00:00
|
|
|
|
'om' => 'Oromoo', # Oromo
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'or' => 'ଓଡ଼ିଆ', # Oriya
|
2011-06-16 17:34:40 +00:00
|
|
|
|
'os' => 'Ирон', # Ossetic -- fixed per bug 29091
|
2010-08-26 08:03:07 +00:00
|
|
|
|
'pa' => 'ਪੰਜਾਬੀ', # Eastern Punjabi (Gurmukhi script) (pan)
|
2006-09-30 19:27:38 +00:00
|
|
|
|
'pag' => 'Pangasinan', # Pangasinan
|
2006-10-15 08:31:19 +00:00
|
|
|
|
'pam' => 'Kapampangan', # Pampanga
|
2006-03-24 22:10:00 +00:00
|
|
|
|
'pap' => 'Papiamentu', # Papiamentu
|
2009-08-08 00:19:11 +00:00
|
|
|
|
'pcd' => 'Picard', # Picard
|
|
|
|
|
|
'pdc' => 'Deitsch', # Pennsylvania German
|
|
|
|
|
|
'pdt' => 'Plautdietsch', # Plautdietsch/Mennonite Low German
|
2010-12-17 19:17:56 +00:00
|
|
|
|
'pfl' => 'Pälzisch', # Palatinate German
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'pi' => 'पािऴ', # Pali
|
2007-04-02 06:47:52 +00:00
|
|
|
|
'pih' => 'Norfuk / Pitkern', # Norfuk/Pitcairn/Norfolk
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'pl' => 'Polski', # Polish
|
2009-08-08 00:19:11 +00:00
|
|
|
|
'pms' => 'Piemontèis', # Piedmontese
|
2008-11-01 23:30:36 +00:00
|
|
|
|
'pnb' => 'پنجابی', # Western Punjabi
|
2009-08-08 00:19:11 +00:00
|
|
|
|
'pnt' => 'Ποντιακά', # Pontic/Pontic Greek
|
2009-11-21 23:52:17 +00:00
|
|
|
|
'prg' => 'Prūsiskan', # Prussian
|
2007-12-18 22:48:11 +00:00
|
|
|
|
'ps' => 'پښتو', # Pashto, Northern/Paktu/Pakhtu/Pakhtoo/Afghan/Pakhto/Pashtu/Pushto/Yusufzai Pashto
|
2005-04-03 20:33:09 +00:00
|
|
|
|
'pt' => 'Português', # Portuguese
|
2005-09-05 15:12:43 +00:00
|
|
|
|
'pt-br' => 'Português do Brasil', # Brazilian Portuguese
|
2011-07-15 23:28:30 +00:00
|
|
|
|
'qu' => 'Runa Simi', # Southern Quechua
|
2011-08-17 22:35:52 +00:00
|
|
|
|
'qug' => 'Runa shimi', # Kichwa/Northern Quechua (one of the codes it covers; temporarily used until Kichwa has its own)
|
2009-11-18 23:42:38 +00:00
|
|
|
|
'rgn' => 'Rumagnôl', # Romagnol
|
2008-07-07 10:27:25 +00:00
|
|
|
|
'rif' => 'Tarifit', # Tarifit
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'rm' => 'Rumantsch', # Raeto-Romance
|
2006-03-24 22:10:00 +00:00
|
|
|
|
'rmy' => 'Romani', # Vlax Romany
|
2007-12-18 22:48:11 +00:00
|
|
|
|
'rn' => 'Kirundi', # Rundi/Kirundi/Urundi
|
2005-04-03 20:33:09 +00:00
|
|
|
|
'ro' => 'Română', # Romanian
|
2011-06-02 13:10:06 +00:00
|
|
|
|
'roa-rup' => 'Armãneashce', # Aromanian (deprecated code, 'rup' exists in ISO 693-3)
|
2006-09-30 19:27:38 +00:00
|
|
|
|
'roa-tara' => 'Tarandíne', # Tarantino
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'ru' => 'Русский', # Russian
|
2010-09-04 19:20:21 +00:00
|
|
|
|
'rue' => 'Русиньскый', # Rusyn
|
2011-06-02 13:10:06 +00:00
|
|
|
|
'rup' => 'Armãneashce', # Aromanian
|
2010-08-26 08:03:07 +00:00
|
|
|
|
'ruq' => 'Vlăheşte', # Megleno-Romanian (multiple scripts - defaults to Latin)
|
2008-02-04 13:36:09 +00:00
|
|
|
|
'ruq-cyrl' => 'Влахесте', # Megleno-Romanian (Cyrillic script)
|
2010-07-29 09:43:18 +00:00
|
|
|
|
# 'ruq-grek' => 'Βλαεστε', # Megleno-Romanian (Greek script)
|
2008-02-04 13:36:09 +00:00
|
|
|
|
'ruq-latn' => 'Vlăheşte', # Megleno-Romanian (Latin script)
|
2005-01-30 21:39:32 +00:00
|
|
|
|
'rw' => 'Kinyarwanda', # Kinyarwanda, should possibly be Kinyarwandi
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'sa' => 'संस्कृत', # Sanskrit
|
2007-08-31 13:39:07 +00:00
|
|
|
|
'sah' => 'Саха тыла', # Sakha
|
2005-01-30 21:39:32 +00:00
|
|
|
|
'sc' => 'Sardu', # Sardinian
|
|
|
|
|
|
'scn' => 'Sicilianu', # Sicilian
|
2006-01-07 13:31:29 +00:00
|
|
|
|
'sco' => 'Scots', # Scots
|
2006-05-09 21:52:00 +00:00
|
|
|
|
'sd' => 'سنڌي', # Sindhi
|
2008-01-01 14:07:58 +00:00
|
|
|
|
'sdc' => 'Sassaresu', # Sassarese
|
2005-04-03 20:33:09 +00:00
|
|
|
|
'se' => 'Sámegiella', # Northern Sami
|
Localisation updates from Betawiki.
* am, ast, bcl, bn, bpy, dsb, hsb, it, li, no, sah, sei (new), tet.
2007-09-23 10:20:16 +00:00
|
|
|
|
'sei' => 'Cmique Itom', # Seri
|
2007-12-16 17:48:24 +00:00
|
|
|
|
'sg' => 'Sängö', # Sango/Sangho
|
2010-10-14 09:14:45 +00:00
|
|
|
|
'sgs' => 'Žemaitėška', # Samogitian
|
2005-10-24 06:39:54 +00:00
|
|
|
|
'sh' => 'Srpskohrvatski / Српскохрватски', # Serbocroatian
|
2011-09-10 04:09:20 +00:00
|
|
|
|
'shi' => 'Tašlḥiyt/ⵜⴰⵛⵍⵃⵉⵜ', # Tachelhit (multiple scripts - defaults to Latin)
|
|
|
|
|
|
'shi-tfng' => 'ⵜⴰⵛⵍⵃⵉⵜ', # Tachelhit (Tifinagh script)
|
|
|
|
|
|
'shi-latn' => 'Tašlḥiyt', # Tachelhit (Latin script)
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'si' => 'සිංහල', # Sinhalese
|
2005-01-30 21:39:32 +00:00
|
|
|
|
'simple' => 'Simple English', # Simple English
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'sk' => 'Slovenčina', # Slovak
|
2005-04-03 21:02:36 +00:00
|
|
|
|
'sl' => 'Slovenščina', # Slovenian
|
2009-05-17 10:33:28 +00:00
|
|
|
|
'sli' => 'Schläsch', # Lower Selisian
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'sm' => 'Gagana Samoa', # Samoan
|
2008-07-31 21:33:50 +00:00
|
|
|
|
'sma' => 'Åarjelsaemien', # Southern Sami
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'sn' => 'chiShona', # Shona
|
|
|
|
|
|
'so' => 'Soomaaliga', # Somali
|
|
|
|
|
|
'sq' => 'Shqip', # Albanian
|
2010-08-26 08:03:07 +00:00
|
|
|
|
'sr' => 'Српски / Srpski', # Serbian (multiple scripts - defaults to Cyrillic)
|
2011-01-09 13:10:56 +00:00
|
|
|
|
'sr-ec' => "\xE2\x80\xAAСрпски (ћирилица)\xE2\x80\xAC", # Serbian Cyrillic ekavian
|
|
|
|
|
|
'sr-el' => "\xE2\x80\xAASrpski (latinica)\xE2\x80\xAC", # Serbian Latin ekavian
|
2008-01-18 15:29:24 +00:00
|
|
|
|
'srn' => 'Sranantongo', # Sranan Tongo
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'ss' => 'SiSwati', # Swati
|
2007-11-14 16:58:05 +00:00
|
|
|
|
'st' => 'Sesotho', # Southern Sotho
|
Localisation updates from Betawiki.
* an, ar, cs, es, ext, frp, fy, hr, hsb, is, kaa, myv, nl, oc, pnt, qu, ss (new), stq (new)
2007-11-09 12:41:43 +00:00
|
|
|
|
'stq' => 'Seeltersk', # Saterland Frisian
|
2005-04-08 21:01:13 +00:00
|
|
|
|
'su' => 'Basa Sunda', # Sundanese
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'sv' => 'Svenska', # Swedish
|
|
|
|
|
|
'sw' => 'Kiswahili', # Swahili
|
2008-04-19 10:46:03 +00:00
|
|
|
|
'szl' => 'Ślůnski', # Silesian
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'ta' => 'தமிழ்', # Tamil
|
2008-09-21 11:38:09 +00:00
|
|
|
|
'tcy' => 'ತುಳು', # Tulu
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'te' => 'తెలుగు', # Telugu
|
2006-03-24 22:10:00 +00:00
|
|
|
|
'tet' => 'Tetun', # Tetun
|
2008-08-06 08:50:11 +00:00
|
|
|
|
'tg' => 'Тоҷикӣ', # Tajiki (falls back to tg-cyrl)
|
2008-03-31 18:55:39 +00:00
|
|
|
|
'tg-cyrl' => 'Тоҷикӣ', # Tajiki (Cyrllic script) (default)
|
|
|
|
|
|
'tg-latn' => 'tojikī', # Tajiki (Latin script)
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'th' => 'ไทย', # Thai
|
|
|
|
|
|
'ti' => 'ትግርኛ', # Tigrinya
|
2009-03-08 17:40:17 +00:00
|
|
|
|
'tk' => 'Türkmençe', # Turkmen
|
2008-09-12 12:51:37 +00:00
|
|
|
|
'tl' => 'Tagalog', # Tagalog
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'tn' => 'Setswana', # Setswana
|
2009-02-18 00:29:27 +00:00
|
|
|
|
'to' => 'lea faka-Tonga', # Tonga (Tonga Islands)
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'tokipona' => 'Toki Pona', # Toki Pona
|
2004-08-09 22:57:53 +00:00
|
|
|
|
'tpi' => 'Tok Pisin', # Tok Pisin
|
2005-04-03 20:33:09 +00:00
|
|
|
|
'tr' => 'Türkçe', # Turkish
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'ts' => 'Xitsonga', # Tsonga
|
2009-08-15 13:48:10 +00:00
|
|
|
|
'tt' => 'Татарча/Tatarça', # Tatar (multiple scripts - defaults to Cyrillic)
|
2010-08-26 08:03:07 +00:00
|
|
|
|
'tt-cyrl' => 'Татарча', # Tatar (Cyrillic script) (default)
|
2008-03-20 22:12:11 +00:00
|
|
|
|
'tt-latn' => 'Tatarça', # Tatar (Latin script)
|
2004-12-02 05:00:11 +00:00
|
|
|
|
'tum' => 'chiTumbuka', # Tumbuka
|
2005-01-30 21:39:32 +00:00
|
|
|
|
'tw' => 'Twi', # Twi, (FIXME!)
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'ty' => 'Reo Mā`ohi', # Tahitian
|
2006-05-05 12:36:48 +00:00
|
|
|
|
'tyv' => 'Тыва дыл', # Tyvan
|
2005-10-24 06:50:54 +00:00
|
|
|
|
'udm' => 'Удмурт', # Udmurt
|
2010-08-04 14:41:35 +00:00
|
|
|
|
'ug' => 'ئۇيغۇرچە / Uyghurche', # Uyghur (multiple scripts - defaults to Arabic)
|
2010-08-26 08:03:07 +00:00
|
|
|
|
'ug-arab' => 'ئۇيغۇرچە', # Uyghur (Arabic script) (default)
|
2010-08-04 14:41:35 +00:00
|
|
|
|
'ug-latn' => 'Uyghurche', # Uyghur (Latin script)
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'uk' => 'Українська', # Ukrainian
|
|
|
|
|
|
'ur' => 'اردو', # Urdu
|
2006-05-17 14:57:03 +00:00
|
|
|
|
'uz' => 'O\'zbek', # Uzbek
|
2005-03-13 18:17:47 +00:00
|
|
|
|
've' => 'Tshivenda', # Venda
|
2005-10-24 06:50:54 +00:00
|
|
|
|
'vec' => 'Vèneto', # Venetian
|
2009-03-25 00:04:43 +00:00
|
|
|
|
'vep' => 'Vepsan kel\'', # Veps
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'vi' => 'Tiếng Việt', # Vietnamese
|
2006-12-07 14:55:16 +00:00
|
|
|
|
'vls' => 'West-Vlams', # West Flemish
|
2010-01-30 23:31:22 +00:00
|
|
|
|
'vmf' => 'Mainfränkisch', # Upper Franconian, Main-Franconian
|
2005-04-07 17:25:37 +00:00
|
|
|
|
'vo' => 'Volapük', # Volapük
|
2009-11-21 23:52:17 +00:00
|
|
|
|
'vot' => 'Vaďďa', # Vod/Votian
|
2009-01-24 09:59:37 +00:00
|
|
|
|
'vro' => 'Võro', # Võro
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'wa' => 'Walon', # Walloon
|
2006-10-15 08:31:19 +00:00
|
|
|
|
'war' => 'Winaray', # Waray-Waray
|
2007-03-19 23:13:24 +00:00
|
|
|
|
'wo' => 'Wolof', # Wolof
|
2007-12-19 07:37:19 +00:00
|
|
|
|
'wuu' => '吴语', # Wu Chinese
|
2007-12-18 22:48:11 +00:00
|
|
|
|
'xal' => 'Хальмг', # Kalmyk-Oirat (Kalmuk, Kalmuck, Kalmack, Qalmaq, Kalmytskii Jazyk, Khal:mag, Oirat, Volga Oirat, European Oirat, Western Mongolian)
|
2004-06-11 04:50:29 +00:00
|
|
|
|
'xh' => 'isiXhosa', # Xhosan
|
2008-01-30 17:16:34 +00:00
|
|
|
|
'xmf' => 'მარგალური', # Mingrelian
|
Converted entities to their respective literals with the following Perlscript
#!/usr/bin/evn perl
use utf8;
use HTML::Entities;
binmode STDOUT, ":utf8";
@file = <>;
$file = join /\n/, @file;
for $i (0..length $file) {
if ( (substr($file, $i, 1) eq '&') and (substr($file, ($i+1), 1) eq '#') ) {
$eat = 1; # Yummie entities
undef $food;
next;
} elsif ($eat && substr($file, $i, 1) eq '#') {
next;
} elsif ($eat && substr($file, $i, 1) =~ /\d/) {
$food .= substr($file, $i, 1);
next;
} elsif ($eat && substr($file, $i, 1) =~ /;/) {
undef $eat;
$out .= chr($food);
undef $food;
next;
}
$out .= substr($file, $i, 1);
}
$out = decode_entities($out);
print $out;
2005-03-27 02:25:25 +00:00
|
|
|
|
'yi' => 'ייִדיש', # Yiddish
|
2005-04-03 20:33:09 +00:00
|
|
|
|
'yo' => 'Yorùbá', # Yoruba
|
2009-08-08 00:19:11 +00:00
|
|
|
|
'yue' => '粵語', # Cantonese -- (bug 8217) yue instead of zh-yue, http://www.sil.org/iso639-3/codes.asp?order=639_3&letter=y
|
2009-05-21 17:24:04 +00:00
|
|
|
|
'za' => 'Vahcuengh', # Zhuang
|
2007-12-18 22:48:11 +00:00
|
|
|
|
'zea' => 'Zeêuws', # Zeeuws/Zeaws
|
2007-04-12 15:10:34 +00:00
|
|
|
|
'zh' => '中文', # (Zhōng Wén) - Chinese
|
2009-01-21 15:04:46 +00:00
|
|
|
|
'zh-classical' => '文言', # Classical Chinese/Literary Chinese -- (see bug 8217)
|
2007-04-12 21:42:30 +00:00
|
|
|
|
'zh-cn' => "\xE2\x80\xAA中文(中国大陆)\xE2\x80\xAC", # Chinese (PRC)
|
2010-08-26 08:03:07 +00:00
|
|
|
|
'zh-hans' => "\xE2\x80\xAA中文(简体)\xE2\x80\xAC", # Mandarin Chinese (Simplified Chinese script) (cmn-hans)
|
|
|
|
|
|
'zh-hant' => "\xE2\x80\xAA中文(繁體)\xE2\x80\xAC", # Mandarin Chinese (Traditional Chinese script) (cmn-hant)
|
2008-06-26 03:00:34 +00:00
|
|
|
|
'zh-hk' => "\xE2\x80\xAA中文(香港)\xE2\x80\xAC", # Chinese (Hong Kong)
|
2009-08-08 00:19:11 +00:00
|
|
|
|
'zh-min-nan' => 'Bân-lâm-gú', # Min-nan -- (see bug 8217)
|
2008-06-26 03:00:34 +00:00
|
|
|
|
'zh-mo' => "\xE2\x80\xAA中文(澳門)\xE2\x80\xAC", # Chinese (Macau)
|
|
|
|
|
|
'zh-my' => "\xE2\x80\xAA中文(马来西亚)\xE2\x80\xAC", # Chinese (Malaysia)
|
2009-08-08 00:19:11 +00:00
|
|
|
|
'zh-sg' => "\xE2\x80\xAA中文(新加坡)\xE2\x80\xAC", # Chinese (Singapore)
|
2008-06-26 03:00:34 +00:00
|
|
|
|
'zh-tw' => "\xE2\x80\xAA中文(台灣)\xE2\x80\xAC", # Chinese (Taiwan)
|
2007-04-12 15:10:34 +00:00
|
|
|
|
'zh-yue' => '粵語', # Cantonese -- (see bug 8217)
|
2005-01-30 21:39:32 +00:00
|
|
|
|
'zu' => 'isiZulu' # Zulu
|
2004-06-11 04:50:29 +00:00
|
|
|
|
);
|