function i18n_language_property in Internationalization 5
Same name and namespace in other branches
- 5.3 i18n.module \i18n_language_property()
- 5.2 i18n.module \i18n_language_property()
- 6 i18n.module \i18n_language_property()
- 7 i18n.module \i18n_language_property()
Get language properties
Parameters
$code: Language code
$property: It may be 'name', 'native', 'ltr'...
1 call to i18n_language_property()
- i18n_language_rtl in ./
i18n.module - Check whether language is RTL
File
- ./
i18n.module, line 382 - Internationalization (i18n) module
Code
function i18n_language_property($code, $property = 'native') {
$languages = i18n_languages($property);
return $languages[$code];
}