Today Thierry Nkaoua wrote: > Tobias Oetiker a dit: > > > > Today Thierry Nkaoua wrote: > > > >> > >> Javier Chirino a dit: > >> > hi > >> > I want to change the language the my graphics to spanish > >> > I made the changes in the /src/rrd_graph.c, > >> > in the graphics the words week change by "semana", but the language > >> > for this day and mounth still in english. > >> > > >> > I need change something else ? > >> > >> Hi > >> > >> I posted a complement to my first post... have a look in your mailbox > >> or in the archive > >> replace > >> setlocale(LC_ALL,""); > >> by > >> setlocale(LC_ALL,"es_ES"); > >> for Spanish > > > > Folks, > > > > get a grip ... the trick is so set the LC_ALL environemnt variable and > > then call > > > > setlocale(LC_ALL,""); as this will set things up .. > > > > tobi > >> > >> it is for linux systems that support localization > >> > >> regards > > > Hi > > LC_ALL is not a an environment variable to set, but a string passed to > setlocale to set "all" the functions using localization
to quote from the manpage A value of "" for locale specifies that the locale should be taken from environment variables. cheers tobi -- ______ __ _ /_ __/_ / / (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland / // _ \/ _ \/ / phoneto:+41(0)1-632-5286 faxto:+41(0)1-632-1517 /_/ \.__/_.__/_/ [EMAIL PROTECTED] http://google.com/search?q=tobi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
