Forked from
project / drupal
45311 commits behind the upstream repository.
-
Dries Buytaert authored
- applied David Norman's patch to turn all <?'s into fully qualified <?php's.
Dries Buytaert authored- applied David Norman's patch to turn all <?'s into fully qualified <?php's.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
locale.inc 239 B
<?php
function locale_init() {
global $languages, $user;
return ($user->id && $user->language) ? $user->language : key($languages);
}
function t($string) {
global $languages;
return ($languages ? locale($string) : $string);
}
?>