projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bf84ca
)
DataObjects/Core_template.php
author
Alan Knowles
<alan@roojs.com>
Fri, 4 Dec 2020 06:45:16 +0000
(14:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 4 Dec 2020 06:45:16 +0000
(14:45 +0800)
DataObjects/Core_template.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_template.php
b/DataObjects/Core_template.php
index
560753f
..
7e6f429
100644
(file)
--- a/
DataObjects/Core_template.php
+++ b/
DataObjects/Core_template.php
@@
-409,8
+409,9
@@
WHERE (
if (!empty($done[$clsname.':'.$lang])) {
return; // already sent headers and everything.
}
- setlocale(LC_MESSAGES, $lang);
+
putenv("LANGUAGE=$lang");
+ setlocale(LC_ALL, $lang);
$clsname = strtolower($clsname);
$d = DB_DataObject::factory($this->tableName());
$d->whereAdd("