[rrd-developers] Default Language
    Felipe Piccirilo 
    piccirilo at gruponet.com.br
       
    Thu Feb 17 10:50:50 MET 2005
    
    
  
Hi folks...
	Why that when I use other language then english configured in LC_ALL/LC_TIME and generated a monthly graph the weeks are printed in english at the "x axis" and not in my current language configured?
	I was looking at the rrd_graph.c code, and I saw that in lines 58 and 59 (rrdtool-1.0.49) are:
{3600, TMT_DAY,1, TMT_WEEK,1, TMT_WEEK,1, 7*24*3600,"Week %V"},
{3*3600, TMT_WEEK,1, TMT_MONTH,1,TMT_WEEK,2,7*24*3600,"Week %V"},
It shouldn't have to be like (?):
{3600, TMT_DAY,1, TMT_WEEK,1, TMT_WEEK,1, 7*24*3600,_("Week %V")},
{3*3600, TMT_WEEK,1, TMT_MONTH,1,TMT_WEEK,2,7*24*3600,_("Week %V")},
or something like that so the gettext() function could translate the word "Week" to my current language?
any ideas how could I solve this??
best regards,
[]s
=================================
Felipe Piccirilo  
piccirilo at gruponet.com.br
System Analyst
=================================
GrupoNet Tecnologia Ltda
www.gruponet.com.br
=================================
--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
    
    
More information about the rrd-developers
mailing list