Since ElevenClock is an app that wants to reach every single person in the world running Windows 11, on issue #111 it was requested to add this feature. And here we are.
This is the translation program. The language packs will be .py files containing dictionaries with the translated sentences.
To translate ElevenClock to a language:
- Download this file
- Rename so it matches the following pattern:
lang_[LANG_CODE].py
. For example,lang_en.py
for english orlang_ca.py
for catalan. More information about language codes can be found Here - Translate every sentence in between the two
""
that you will find on every line*. Please follow the rules established in the Rules section - In order to publish changes, you can either submit a pull request (If you know how to) or, if you don't know how to, just send me the translated file at marticlilop@gmail.com. I'll review it and publish it with the new version.
* Example file:
- Go to this folder and download the approppiate language file to update
- Translate every non-translated sentence in between the two
""
that you will find on every line. The non-translated sentences will be at the top of the document. Please follow the rules established in the Rules section - In order to publish changes, you can either submit a pull request (If you know how to) or, if you don't know how to, just send me the updated file at marticlilop@gmail.com. I'll review it and publish it with the new version.
- Make sure not to modify the original strings. If this happened the translation wouldn't work at all.
- Make sure to add any final stop/colon/semicolon/hyphen/etc.
- Make sure to add the {0} symbols, since they code for variable values
- If you are creating a new translation, you can give you credits in a specific place (marked in the file). If you update a language file, you can also add your credits but without removing the previous one. Thi could be achieved by writing something like "Translated to Catalan by @user1 and @user2"!