Hi all,

I would like to print the day name of a date in french using my current

In lua I can do:
> os.setlocale('fr_FR.UTF-8',all)
> print(os.date("%A"))

But in a cld document it doesn't work. Context complains about using
"os.locale in a supposedly locale neutral enviroment" and it prints the
day name in english.

How can I translate the day names without hardcoding everything?

Thanks in advance.


Romain Diss
If your question is of interest to others as well, please add an entry to the 

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net

Reply via email to