Global locale

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
sa76
Posts: 3
Joined: Fri Jul 22, 2011 4:12 am

Global locale

Post by sa76 »

Cacti doesn't show unicode title and vertical labels on graphs
because these arguments to rrdtool are passed via escapeshellarg(),
which strips out all non-ascii characters.
Setting unicode locale in include/global.php solves the problem:

setlocale (LC_CTYPE, "en_US.UTF-8");

It would be nice to set locale via web interface "settings" tab.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Global locale

Post by gandalf »

This is targeted for 088 along with i18n.
R.
sa76
Posts: 3
Joined: Fri Jul 22, 2011 4:12 am

Re: Global locale

Post by sa76 »

Ok, waiting for 0.8.8.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Global locale

Post by gandalf »

Discussing this today with our i18n specialist, browniebraun. We will NOT use setlocale but provide a different way of implementing
R.
sa76
Posts: 3
Joined: Fri Jul 22, 2011 4:12 am

Re: Global locale

Post by sa76 »

Then unicode labels will probably not work in 0.8.8, but we still hope for surprise.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests