cvs: phpweb /include languages.inc
| From: | Philip Olson | Date: | Thu, 10 Apr 2008 17:52:03 +0000 |
| Subject: | cvs: phpweb /include languages.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-1494@lists.php.net to get a copy of this message | ||
philip Thu Apr 10 17:52:03 2008 UTC
Modified files:
/phpweb/include languages.inc
Log:
Added all phpdoc-{lang} languages to $LANGUAGES
Added all inactive languages to $INACTIVE_ONLINE_LANGUAGES
Added explanation for $INACTIVE_ONLINE_LANGUAGES
# This listing will change periodically to coincide with the translation situation
# Translators: Inactive languages are still available @ docs.php.net
http://cvs.php.net/viewvc.cgi/phpweb/include/languages.inc?r1=1.15&r2=1.16&diff_format=u
Index: phpweb/include/languages.inc
diff -u phpweb/include/languages.inc:1.15 phpweb/include/languages.inc:1.16
--- phpweb/include/languages.inc:1.15 Wed Aug 4 17:20:19 2004
+++ phpweb/include/languages.inc Thu Apr 10 17:52:03 2008
@@ -1,10 +1,10 @@
<?php // -*- C++ -*-
-// $Id: languages.inc,v 1.15 2004/08/04 17:20:19 derick Exp $
+// $Id: languages.inc,v 1.16 2008/04/10 17:52:03 philip Exp $
/*
This is a list of all manual languages hosted
- on a full PHP.net mirror site
+ within PHP CVS modules (phpdoc-{lang})
Some codes, like "kr", "tw" and "hk" are not in
conformance with the official language code standard!
@@ -14,10 +14,12 @@
$LANGUAGES = array(
'en' => 'English',
'ar' => 'Arabic',
+ 'bg' => 'Bulgarian',
'pt_BR' => 'Brazilian Portuguese',
'zh' => 'Chinese (Simplified)',
'hk' => 'Chinese (Hong Kong Cantonese)',
'tw' => 'Chinese (Traditional)',
+ 'ca' => 'Catalan',
'cs' => 'Czech',
'da' => 'Danish',
'nl' => 'Dutch',
@@ -27,20 +29,55 @@
'el' => 'Greek',
'he' => 'Hebrew',
'hu' => 'Hungarian',
+ 'id' => 'Indonesian',
'it' => 'Italian',
'ja' => 'Japanese',
'kr' => 'Korean',
+ 'lt' => 'Lithuanian',
+ 'no' => 'Norwegian',
'pl' => 'Polish',
+ 'pt' => 'Portuguese',
'ro' => 'Romanian',
'ru' => 'Russian',
'sk' => 'Slovak',
+ 'sl' => 'Slovenian',
'es' => 'Spanish',
'sv' => 'Swedish',
+ 'tr' => 'Turkish',
);
+/*
+ The following languages are inactive, which means they will not:
+ - Show up via the language select box at php.net
+ - Be selectable via my.php
+ - Accept redirections to the translation, despite ACCEPT_LANGUAGE
+ - Be listed at php.net/docs or php.net/download-docs
+ However, these languages are available on the doc dev server:
+ - http://docs.php.net/
+*/
$INACTIVE_ONLINE_LANGUAGES = array(
- 'ar' => 'Arabic',
-);
+ 'ar' => 'Arabic',
+ 'zh' => 'Chinese (Simplified)',
+ 'hk' => 'Chinese (Hong Kong Cantonese)',
+ 'tw' => 'Chinese (Traditional)',
+ 'ca' => 'Catalan',
+ 'cs' => 'Czech',
+ 'da' => 'Danish',
+ 'nl' => 'Dutch',
+ 'fi' => 'Finnish',
+ 'el' => 'Greek',
+ 'he' => 'Hebrew',
+ 'hu' => 'Hungarian',
+ 'id' => 'Indonesian',
+ 'kr' => 'Korean',
+ 'lt' => 'Lithuanian',
+ 'no' => 'Norwegian',
+ 'pt' => 'Portuguese',
+ 'sk' => 'Slovak',
+ 'sl' => 'Slovenian',
+ 'sv' => 'Swedish',
+ 'tr' => 'Turkish',
+ );
// Convert between language codes back and forth
// [We use non standard languages codes and so conversion