You are here

function i18n_language_rtl in Internationalization 5.3

Same name and namespace in other branches
  1. 5 i18n.module \i18n_language_rtl()
  2. 5.2 i18n.module \i18n_language_rtl()

Check whether language is RTL

Parameters

$language: Language to check, defaults to current language

File

./i18n.module, line 413
Internationalization (i18n) module

Code

function i18n_language_rtl($language = NULL) {
  $language = $language ? $language : i18n_get_lang();
  return i18n_language_property($language, 'rtl') ? TRUE : FALSE;
}