Commit 3079ffea authored by Dries's avatar Dries

- Made it possible for the i18n module to hook in.
parent 5595bc79
......@@ -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'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment