PHP Classes

File: src/en.php

Recommend this page to a friend!
  Classes of Peter Kahl   PHP Language Info   src/en.php   Download  
File: src/en.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Language Info
Get information about a language
Author: By
Last change: Update of src/en.php
Date: 5 years ago
Size: 2,712 bytes
 

Contents

Class file image Download
<?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 <peter.kahl@colossalmind.com>
 * @since 2017
 * @license Apache License, Version 2.0
 *
 * Copyright 2017 Peter Kahl <peter.kahl@colossalmind.com>
 *
 * 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' => 'unknown',
 
'ar' => 'Arabic',
 
'az' => 'Azeri',
 
'bg' => 'Bulgarian',
 
'bn' => 'Bengali',
 
'bo' => 'Tibetan',
 
'ceb' => 'Cebuano',
 
'cs' => 'Czech',
 
'cy' => 'Welsh',
 
'da' => 'Danish',
 
'de' => 'German',
 
'el' => 'Greek',
 
'en' => 'English',
 
'en-gb' => 'English GB',
 
'en-us' => 'English US',
 
'es' => 'Spanish',
 
'et' => 'Estonian',
 
'fa' => 'Persian',
 
'fi' => 'Finnish',
 
'fr' => 'French',
 
'gu' => 'Gujarati',
 
'ha' => 'Hausa',
 
'haw' => 'Hawaiian',
 
'he' => 'Hebrew',
 
'hi' => 'Hindi',
 
'hr' => 'Croatian',
 
'hu' => 'Hungarian',
 
'hy' => 'Armenian',
 
'id' => 'Indonesian',
 
'is' => 'Icelandic',
 
'it' => 'Italian',
 
'ja' => 'Japanese',
 
'ka' => 'Georgian',
 
'kh' => 'Khmer',
 
'kk' => 'Kazakh',
 
'ko' => 'Korean',
 
'ky' => 'Kyrgyz',
 
'la' => 'Latin',
 
'lo' => 'Lao',
 
'lt' => 'Lithuanian',
 
'lv' => 'Latvian',
 
'mk' => 'Macedonian',
 
'ml' => 'Malayalam',
 
'mn' => 'Mongolian',
 
'my' => 'Burmese',
 
'ne' => 'Nepali',
 
'ne' => 'Nepali',
 
'nl' => 'Dutch',
 
'no' => 'Norwegian',
 
'pidgin' => 'Pidgin',
 
'pl' => 'Polish',
 
'ps' => 'Pashto',
 
'pt' => 'Portuguese',
 
'ro' => 'Romanian',
 
'ru' => 'Russian',
 
'si' => 'Sinhalese',
 
'sk' => 'Slovak',
 
'sl' => 'Slovene',
 
'so' => 'Somali',
 
'sq' => 'Albanian',
 
'sr' => 'Serbian',
 
'sv' => 'Swedish',
 
'sw' => 'Swahili',
 
'ta' => 'Tamil',
 
'th' => 'Thai',
 
'tl' => 'Tagalog',
 
'tr' => 'Turkish',
 
'uk' => 'Ukrainian',
 
'ur' => 'Urdu',
 
'uz' => 'Uzbek',
 
'vi' => 'Vietnamese',
 
'zh' => 'Chinese',
 
'zh-cn' => 'Chinese simplified',
 
'zh-hk' => 'Chinese traditional',
);