Added “locale: ” string to echo the currently set locale (the line remains commented out)
This commit is contained in:
parent
2b0561c3e2
commit
385935c662
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ if (is_null($dlang)) $dlang='en';
|
||||||
|
|
||||||
$tdom='masthelp';
|
$tdom='masthelp';
|
||||||
$locale=localemap($dlang);
|
$locale=localemap($dlang);
|
||||||
//echo $locale.'<br>'.N;
|
//echo 'locale: '.$locale.'<br>'.N;
|
||||||
setlocale(LC_ALL,$locale);
|
setlocale(LC_ALL,$locale);
|
||||||
bindtextdomain($tdom,'./locale');
|
bindtextdomain($tdom,'./locale');
|
||||||
textdomain($tdom);
|
textdomain($tdom);
|
||||||
|
|
Loading…
Reference in a new issue