[rrd-users] Re: Translating weekdays/month names
thomas.erskine at sympatico.ca
Sun Jul 27 14:14:04 MEST 2003
At 16:23 2003-07-25, Norman Schmidt Jr wrote:
>Im translating a statistics webmin module which uses RRDTool.
>I couldnt find how to translate the weekdays and month names which are
>generated in the RRDTool graphics. The only place I found some english
I'm assuming that you mean the date/time labels on the x-axis. These are
specified in the --x-grid option. The defaults are automatically generated
when you don't specify one. The important point for you is that the last
part of the argument to this option is a strftime string. If the system
you are on has special strftime strings to do native language output, you
just do that. Another possibility, my strftime man-page says, for each
item, "...according to the current locale", so It may be as simple as
setting the locale before running rrdtool.
>date literals was in src/parsetime.c, but it seems that they are just
>command parsing literals.
>Any tips about this?
>Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
>Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Thomas Erskine <thomas.erskine at sympatico.ca> +1.613.591.8490
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users