-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
3.0.3
-
RHEL
Graph dates format are coming out in US format even though the local is en_GB.
Delving into the matter the following folder /usr/share/zabbix/locale/en_GB/ and its contents are missing.
Looking at the release tarball its not in there either, so its not something specific to my build
$ pwd
/home/cscott/t/zabbix-3.0.3/frontends/php/locale
$ ls en_GB
ls: cannot access en_GB: No such file or directory
$
running "./add_new_language.sh en_GB" adds the language pack, however this doesnt fix the date problem.
Running the following in the en_GB/LC_MESSAGES dir fixes the problem.
sed -e 's/msgstr "m-d/msgstr "d-m/' -e 's/msgstr "Y-m-d/msgstr "Y-d-m/' -i frontend.po
msgfmt frontend.po -o frontend.mo
This should really be fixed at the source level though.