Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization #54

Merged
merged 39 commits into from
Feb 13, 2023
Merged

Localization #54

merged 39 commits into from
Feb 13, 2023

Conversation

mendhak
Copy link
Owner

@mendhak mendhak commented Feb 10, 2023

VirtualEnv

Move the package installations into a Python virtual environment, instead of a global "sudo pip3 install..." which can be difficult to recover from.

Localization

#52 Ongoing work around localization.

  • The time display.
  • The date display.
  • The dates above the calendar entries.
  • The fonts needed to display characters for that locale.

TODO

  • Fresh install on Raspberry pi
  • All the other display layouts
  • Ability to override the locale
  • Ability to specify a font

Examples

th_TH

image

zh_TW

image

sv_SE

image

ko_KR

image

vi_VN

image

el_GR

image

README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
@mendhak
Copy link
Owner Author

mendhak commented Feb 12, 2023

Overall satisfied with the testing. I reformatted the Raspberry Pi twice and followed the instructions. Out of the box it works for most languages.

For Chinese Japanese Korean, it didn't work out of the box. I installed the Noto fonts and it started working right away.

Some languages were too tricky. Sinhala (si_LK) wouldn't work even with Noto Sans Sinhala, because those fonts didn't have English characters, so the native characters appeared fine (day name, AM PM), but the numbers (like 7C, or the time) didn't appear properly. So I think for some languages I'd have to get a dedicated font.

@mendhak mendhak merged commit c59b445 into master Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant