diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-09-15 09:54:32 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-09-15 09:54:32 +0000 |
commit | 3079ffeafec8da7c58b35c58ead14a30fddda626 (patch) | |
tree | f8a324b32c60260a670aafd1cb372e78ef2a22df /includes/common.inc | |
parent | 5595bc79c6824175e999ed6f661f2d42435ce24f (diff) | |
download | brdo-3079ffeafec8da7c58b35c58ead14a30fddda626.tar.gz brdo-3079ffeafec8da7c58b35c58ead14a30fddda626.tar.bz2 |
- Made it possible for the i18n module to hook in.
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc index ce388c2e9..445344f5c 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -503,6 +503,11 @@ function message_na() { */ function locale_initialize() { global $user; + + if (function_exists('i18n_get_lang')) { + return i18n_get_lang(); + } + if (function_exists('locale')) { $languages = locale_supported_languages(); $languages = $languages['name']; |