mendhak / waveshare-epaper-display

At-a-glance dashboard for Raspberry Pi with a Waveshare ePaper 7.5 Inch HAT. Date/Time, Weather, Alerts, Google/Outlook Calendar
https://code.mendhak.com/raspberrypi-epaper-dashboard/
452 stars 67 forks source link

Localization #54

Closed mendhak closed 1 year ago

mendhak commented 1 year ago

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.

TODO

Examples

th_TH

image

zh_TW

image

sv_SE

image

ko_KR

image

vi_VN

image

el_GR

image

mendhak commented 1 year ago

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.