svn: /web/php/trunk/include/ languages.inc

From: Date: Thu, 14 Jul 2011 04:37:25 +0000
Subject: svn: /web/php/trunk/include/ languages.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11622@lists.php.net to get a copy of this message
philip Thu, 14 Jul 2011 04:37:25 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=313220 Log: Added a few missing languages to LANGUAGES_MAP, and changed missing bing languages to en-us. And added a link to the docs. Changed paths: U web/php/trunk/include/languages.inc Modified: web/php/trunk/include/languages.inc =================================================================== --- web/php/trunk/include/languages.inc 2011-07-14 04:30:09 UTC (rev 313219) +++ web/php/trunk/include/languages.inc 2011-07-14 04:37:25 UTC (rev 313220) @@ -84,14 +84,15 @@ ); // Used for bing search +// Details: http://msdn.microsoft.com/en-us/library/dd251064.aspx $LANGUAGES_MAP = array( 'en' => 'en-us', - 'ar' => 'ar-ae', + 'ar' => 'ar-xa', 'bg' => 'bg-bg', 'zh' => 'zh-cn', - 'hk' => 'zh-cn', + 'hk' => 'zh-hk', 'tw' => 'zh-tw', - 'ca' => 'ca-es', + 'ca' => 'en-us', // ? ca Catalan, ca-es not available (yet) 'cs' => 'cs-cz', 'da' => 'da-dk', 'nl' => 'nl-nl', @@ -104,19 +105,21 @@ 'ja' => 'ja-jp', 'kr' => 'ko-kr', 'lt' => 'lt-lt', - 'no' => 'no-no', + 'no' => 'nb-no', + 'fa' => 'en-us', // ? fa Persian, fa-fa not available (yet) 'pl' => 'pl-pl', 'pt' => 'pt-pt', - 'pt_BR' => 'pt-pt', + 'pt_BR' => 'pt-br', 'ro' => 'ro-ro', 'ru' => 'ru-ru', 'sk' => 'sk-sk', - 'sl' => 'sl-si', - 'es' => 'es-es', + 'sl' => 'sl-sl', + 'sr' => 'en-us', // ? sr Serbian, sr-sr not available (yet) + 'es' => 'es-es', // ? es-xl? 'sv' => 'sv-se', 'tr' => 'tr-tr', 'he' => 'he-il', - 'id' => 'in-id', + 'id' => 'en-us', // ? id Indonesian, in-id not available (yet) ); $ACTIVE_ONLINE_LANGUAGES = array_diff($LANGUAGES, $INACTIVE_ONLINE_LANGUAGES);

« previous php.webmaster (#11622) next »