setlocale

LUA

setlocale

setlocale (LOCALE [, CATEGORY])

Interfaces to the ANSI C function setlocale. LOCALE is a string specifying a locale; CATEGORY is an optional string describing which category to change: "all" (the default), "collate", "ctype", "monetary", "numeric", or "time". Returns the name of the new locale, or nil if the request is invalid.