PiWeatherRock icon indicating copy to clipboard operation
PiWeatherRock copied to clipboard

Add support and labels for UI Internationalization and Localization

Open carloshm opened this issue 4 years ago • 2 comments

Initial pull request with:

  • addition of labels for different languages (added new ui_lang parameter in config as lang from DarkSky does not support all potential languages to be included)
  • instead of using localtime, added Babel to include localization in dates (potential additional review for other not included)
  • Fix text positioning to include multi-language labels

TODO

  • add changes to webconfig project to be able to edit language in ui_lang
  • review all dates for intl
  • review ltr, rtl scenarios
  • add more languages resource files
  • review potential actions to wrap text

@genebean I considered adding this as a minor version and fix for positioning

carloshm avatar Apr 17 '21 16:04 carloshm

Hello @carloshm! Are you actively using the code from this PR? I ask because I saw some pushes this morning that brought it to my attention. Either way, I'll try and review this shortly. Sorry for the long delay... burnout kicked in and I had to walk away.

genebean avatar Aug 12 '24 11:08 genebean

Yeah, I just did some changes for my local parents setup. Latest changes moved app to open-meteo and local changes. It may need some review to merge

carloshm avatar Aug 12 '24 11:08 carloshm