<?php 
/** 
 * Language Info (Multilingual) 
 * Converts language code to a full name in requested language. 
 * 
 * @version    2017-06-07 01:06:00 GMT 
 * @author     Peter Kahl <[email protected]> 
 * @since      2017 
 * @license    Apache License, Version 2.0 
 * 
 * Copyright 2017 Peter Kahl <[email protected]> 
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *      <http://www.apache.org/licenses/LICENSE-2.0> 
 * 
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 */ 
 
$text = array( 
  '00'    => 'sconosciuto', 
  'ar'    => 'arabo', 
  'az'    => 'azero', 
  'bg'    => 'bulgaro', 
  'bn'    => 'bengalese', 
  'bo'    => 'tibetano', 
  'ceb'   => 'cebuano', 
  'cs'    => 'ceco', 
  'cy'    => 'gallese', 
  'da'    => 'danese', 
  'de'    => 'tedesco', 
  'el'    => 'greco', 
  'en'    => 'inglese', 
  'en-gb' => 'inglese GB', 
  'en-us' => 'inglese USA', 
  'es'    => 'spagnolo', 
  'et'    => 'estone', 
  'fa'    => 'persiano', 
  'fi'    => 'finlandese', 
  'fr'    => 'francese', 
  'gu'    => 'gujarati', 
  'ha'    => 'hausa', 
  'haw'   => 'hawaiano', 
  'he'    => 'ebraico', 
  'hi'    => 'hindi', 
  'hr'    => 'croato', 
  'hu'    => 'ungherese', 
  'hy'    => 'armeno', 
  'id'    => 'indonesiano', 
  'is'    => 'islandese', 
  'it'    => 'italiano', 
  'ja'    => 'giapponese', 
  'ka'    => 'georgiano', 
  'kh'    => 'cambogiano', 
  'kk'    => 'kazako', 
  'ko'    => 'coreano', 
  'ky'    => 'kirghiso', 
  'la'    => 'latino', 
  'lo'    => 'lao', 
  'lt'    => 'lituano', 
  'lv'    => 'lettone', 
  'mk'    => 'macedone', 
  'ml'    => 'malayalam', 
  'mn'    => 'mongolo', 
  'my'    => 'birmano', 
  'ne'    => 'nepalese', 
  'ne'    => 'nepali', 
  'nl'    => 'olandese', 
  'no'    => 'norvegese', 
  'pidgin' => 'pidgin', 
  'pl'    => 'polacco', 
  'ps'    => 'pashto', 
  'pt'    => 'portoghese', 
  'ro'    => 'rumeno', 
  'ru'    => 'russo', 
  'si'    => 'singalese', 
  'sk'    => 'slovacco', 
  'sl'    => 'sloveno', 
  'so'    => 'somalo', 
  'sq'    => 'albanese', 
  'sr'    => 'serbo', 
  'sv'    => 'svedese', 
  'sw'    => 'swahili', 
  'ta'    => 'tamil', 
  'th'    => 'tailandese', 
  'tl'    => 'tagalog', 
  'tr'    => 'turco', 
  'uk'    => 'ucraino', 
  'ur'    => 'urdu', 
  'uz'    => 'uzbeko', 
  'vi'    => 'vietnamita', 
  'zh'    => 'cinese', 
  'zh-cn' => 'cinese semplificato', 
  'zh-hk' => 'cinese tradizionale', 
); 
 
 |