function editor_ckeditor_united_nations_language_list in Editor 7
The 6 official languages used at the United Nations.
This list is based on http://www.un.org/en/aboutun/languages.shtml/ and it uses the same format as getStandardLanguageList().
Return value
array An array with language codes as keys, and English and native language names as values.
1 call to editor_ckeditor_united_nations_language_list()
- editor_ckeditor_get_settings in modules/
editor_ckeditor/ editor_ckeditor.module - Editor JS settings callback; Add CKEditor settings to the page for a format.
File
- modules/
editor_ckeditor/ editor_ckeditor.module, line 854 - Adds CKEditor as a supported editor.
Code
function editor_ckeditor_united_nations_language_list() {
return array(
'ar' => array(
'Arabic',
/* Left-to-right marker "" */
'العربية',
'rtl',
),
'zh-hans' => array(
'Chinese, Simplified',
'简体中文',
),
'en' => array(
'English',
'English',
),
'fr' => array(
'French',
'Français',
),
'ru' => array(
'Russian',
'Русский',
),
'es' => array(
'Spanish',
'Español',
),
);
}