sfsam / Itsycal

Itsycal is a tiny calendar for your Mac's menu bar. http://www.mowglii.com/itsycal
MIT License
3.25k stars 234 forks source link

Is it possible to set the datetime in language other than English? #197

Closed anaclumos closed 2 years ago

anaclumos commented 2 years ago

I have reviewed the datetime instructions; would there be any way that I can somehow make the DateTime in a different language? I am not sure if this is supported by the Unicode standard

I am looking for something like

'E' == 'Mon' ? '월요일' : 'E' == 'Tue' ? '화요일' : ...

Of course, it could be any method, I just want to display the DateTime in different language.

sfsam commented 2 years ago

I think if you go to System Preferences > Language & Region and choose Korean or whatever other language you like as your Primary language, it will show that in the menu bar.

Screen Shot 2022-02-02 at 8 42 06 PM
anaclumos commented 2 years ago

Can you confirm if this is the only way to do it? I see that Itsycal does not support additional languages, and therefore would not have any effect.

image

sfsam commented 2 years ago

I'm not sure what you're looking at, but the menu bar date/time is drawn by macOS, not Itsycal. So it can show whatever language macOS supports. The date and time translations within Itsycal work this way too. It's just the UI elements where I had to provide translations that are limited to certain languages.

anaclumos commented 2 years ago

@sfsam, Got it. Thank you so much for your help. Closing this issue.