You are here

function i18n_get_lang in Internationalization 6

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

This one expects to be called first from common.inc

10 calls to i18n_get_lang()
i18ntaxonomy_translation_term_tid in i18ntaxonomy/i18ntaxonomy.module
Get translated term's tid.
i18n_API_Tests::testBasicAPI in tests/i18n_api.test
i18n_db_rewrite_sql in ./i18n.module
Implementation of hook_db_rewrite_sql().
i18n_db_rewrite_where in ./i18n.module
Rewrites queries depending on rewriting mode.
i18n_user in ./i18n.module
Implementation of hook_user().

... See full list

File

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

Code

function i18n_get_lang() {
  global $language;
  return $language->language;
}