New Language Support #10128
-
@ziotprojects asked how to support Thai language |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This is a good document on the ISO standard for language and country codes: https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html Normally language codes are lower case and country/region codes are uppercase. Tasmota has quite a few here: But, I don't see th_TH in the list. If you can do the translation from one of the other languages, you can follow the example, like this one: |
Beta Was this translation helpful? Give feedback.
-
As was documented above the following steps are needed to provide a Pull Request (PR) for a new language like Thai.
Start editing the file with following changes:
Provide the PR and we will implement your language by executing the following steps: Add compile information to below named files:
Add language specific information to workflow files in folder This will provide compiled binaries which in turn need to be registered by the OTA download website. |
Beta Was this translation helpful? Give feedback.
As was documented above the following steps are needed to provide a Pull Request (PR) for a new language like Thai.
LCID string
representing your country and language. In case of Thai in Thailand it would becometh_TH
th_TH.h
.Start editing the file with following changes:
#define LANGUAGE_LCID
to the correctLCID decimal
. In case of Thailand it would be 1054#define D_HTML_LANGUAGE
to the correctLanguage code
. In case of Thai it would be "th"#define D_DAY3LIST
to 7 day…