Replies: 4 comments 3 replies
-
|
I have experienced that introducing multilingual support seems to be hard, so I am about to start a new project that has this as a part of the project goals from the start. That project will also support both ESP8266 and ESP32 to be able to handle new hardware that is emerging. The code will also have focus on remove the settings file to be hardcoded but to be dynamic. And the user should be able to upload a language file from either a repository or a self made one. So good luck with your journey and perhaps we meet again. |
Beta Was this translation helpful? Give feedback.
-
|
I am at a point of introducing multilingual support for 12 European languages. AI has been helpful in producing the translations. I have a short TODO list that may be included in next release, but can also be delayed to following releases:
Comments are as always welcome |
Beta Was this translation helpful? Give feedback.
-
|
Work completed. See release 3.4.0. With this all above points are implemented, except the short date format, which wasn't used at all. If there are any other wishes regarding language support, discuss them here. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks . |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
There have been previous requests about supporting some other language other than English.
See e.g. issue #20
The OpenWeatherMap does indeed support a 'lang=xx' option, but that does only a partial job; it will give the weather description and the city name is local language.
Many European languages do have specific characters outside the standard ASCII-96 table, the so-called extended character set.
With the available fixed-size 5x7 pixel font in the Adafruit GFX library, which contains the CP437 extended character set from the original IBM PC, many of those characters can be displayed, but not all!
Note that all outside communication, like from OWM, Web page Marquee message box or MQTT message can / will contain multi-byte UTF-8 characters when language-specific characters are included.
So, it is a must have to perform some translation of UTF-8 character strings to the CP437 character set, as a basis to support multiple languages.
I have already started work on translating the near full set of the CP437 character set and have added the € sign as well. This is not yet available in github yet; (WIP).
Mats has created another approach of translating extended character strings into standard ASCII in his fork / branch at: https://github.com/mats-nk/LEDmatrixClock/tree/matsk
What to translate (and what not)
What languages to support?
You can request a language you like to be supported, but be prepared to submit and review translations .
Beta Was this translation helpful? Give feedback.
All reactions