You are here

function _i18n_init in Internationalization 5

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

Minimum initialization

1 call to _i18n_init()
i18n_get_lang in ./i18n.module
This one expects to be called first from common.inc

File

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

Code

function _i18n_init() {
  global $i18n_langpath;
  $path = _i18n_get_original_path();
  $i18n_langpath = i18n_get_lang_prefix($path);
}