Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setlocal or not?

Status
Not open for further replies.

Sleidia

Technical User
May 4, 2001
1,284
FR
Hi :)

I'm editing a calendar script and I've just found out that I can use setlocal() to have localized day/month names.
So, for French dates, I'm using
setlocale(LC_TIME, "fra", "fr_FR");
( not tested on Unix yet )

Is it safe to use it or is it better if I define the names myself for every language?

What would you advise?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top