public static LanguageManager::getUnitedNationsLanguageList()
The 6 official languages used at the United Nations.
This list is based on http://www.un.org/en/sections/about-un/official-languages/index.html and it uses the same format as getStandardLanguageList().
array An array with language codes as keys, and English and native language names as values.
public static function getUnitedNationsLanguageList() { return [ 'ar' => ['Arabic', /* Left-to-right marker "" */ 'العربية', LanguageInterface::DIRECTION_RTL], 'zh-hans' => ['Chinese, Simplified', '简体中文'], 'en' => ['English', 'English'], 'fr' => ['French', 'Français'], 'ru' => ['Russian', 'Русский'], 'es' => ['Spanish', 'Español'], ]; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Language!LanguageManager.php/function/LanguageManager::getUnitedNationsLanguageList/8.1.x