You are here

function i18n_language_property in Internationalization 5

Same name and namespace in other branches
  1. 5.3 i18n.module \i18n_language_property()
  2. 5.2 i18n.module \i18n_language_property()
  3. 6 i18n.module \i18n_language_property()
  4. 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];
}