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?
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?