cvs: phpweb /include languages.inc
| From: | Gabor Hojtsy | Date: | Sat, 28 Dec 2002 10:43:58 +0000 |
| Subject: | cvs: phpweb /include languages.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14521@lists.php.net to get a copy of this message | ||
goba Sat Dec 28 05:43:58 2002 EDT
Modified files:
/phpweb/include languages.inc
Log:
Only list languages, which have phpdoc modules. And use language
codes, as the phpdoc modules are named. This speeds up all the
/manual/* page displays, as there is no need to check for page
existence for languages, which are known to be nonexistent.
Index: phpweb/include/languages.inc
diff -u phpweb/include/languages.inc:1.1 phpweb/include/languages.inc:1.2
--- phpweb/include/languages.inc:1.1 Sat Dec 21 07:26:15 2002
+++ phpweb/include/languages.inc Sat Dec 28 05:43:58 2002
@@ -1,38 +1,38 @@
<?php
-// http://www.unicode.org/unicode/onlinedat/languages.html
+/*
+ This is a list of all manual languages hosted
+ on a full PHP.net mirror site
+
+ Some codes, like "ko" and "tw" are not in conformance
+ with the official language code standard!
+
+ http://www.unicode.org/unicode/onlinedat/languages.html
+*/
$LANGUAGES = array(
'en' => 'English',
+ 'ar' => 'Arabic',
'pt_BR' => 'Brazilian Portuguese',
- 'bg' => 'Bulgarian',
- 'ca' => 'Catalan',
- 'zh' => 'Chinese',
- 'zh_cn' => 'Chinese',
+ 'tw' => 'Chinese (Traditional)',
+ 'zh' => 'Chinese (Continental)',
'cs' => 'Czech',
- 'da' => 'Danish',
'nl' => 'Dutch',
'fi' => 'Finnish',
'fr' => 'French',
'de' => 'German',
- 'el' => 'Greek',
+ 'he' => 'Hebrew',
+ //'hk' => '',
'hu' => 'Hungarian',
- 'in' => 'Indonesian',
'it' => 'Italian',
'ja' => 'Japanese',
- 'ko' => 'Korean',
- 'kr' => 'Korean', // This should be 'ko'. It is wrong in
phpdoc!
- 'lv' => 'Latvian',
- 'no' => 'Norwegian',
+ 'kr' => 'Korean',
'pl' => 'Polish',
- 'pt' => 'Portuguese',
'ro' => 'Romanian',
'ru' => 'Russian',
'sk' => 'Slovak',
'sl' => 'Slovenian',
'es' => 'Spanish',
'sv' => 'Swedish',
- 'th' => 'Thai',
'tr' => 'Turkish',
- 'uk' => 'Ukranian',
);
?>