It is currently June 18th, 2024, 8:29 am

Lua locale clarification needed

Discuss the use of Lua in Script measures.
User avatar
Rainmeter Sage
Posts: 2663
Joined: March 23rd, 2015, 5:26 pm

Lua locale clarification needed

Post by SilverAzide »


I've recently noticed that Lua date formatting functions, like"today is %A") appears to return day and month names in English only, not the localized language. I see the docs say os.setlocale is not supported at this time. Does this mean that Lua scripts in Rainmeter are English only? I took the docs to imply that you could not change the locale, but it seems to be that the locale is fixed to be English. Is this correct?
Gadgets Wiki GitHub More Gadgets...