Skip to content

Translating ElevenClock

Martí Climent edited this page Dec 14, 2021 · 18 revisions

ElevenClock Wiki - Translating ElevenClock

The whole point of ElevenClock is to have a customizable clock on your Windows 11 taskbars. When Microsoft's engineers were creating Windows 11, they forgot to add a clock on the secondary screen taskbar. So I did that. ElevenClock was an app designed to return this functionality, but it has evolved and it can now replace your system clock also in order to let you customize it, like in the good old days.

Table of contents

Translate ElevenClock

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.

Overview

This is the translation program. The language packs will be .py files containing dictionaries with the translated sentences.

Adding a new language

To translate ElevenClock to a language:

  1. Download this file
  2. Rename so it matches the following pattern: lang_[LANG_CODE].py. For example, lang_en.py for english or lang_ca.py for catalan. More information about language codes can be found Here
  3. Translate every sentence in between the two "" that you will find on every line*. Please follow the rules established in the Rules section
  4. 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 [email protected]. I'll review it and publish it with the new version.

* Example file:

image

Updating/improving a language translation

  1. Go to this folder and download the approppiate language file to update
  2. 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
  3. 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 [email protected]. I'll review it and publish it with the new version.

Rules:

  • 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"!
    image

ElevenClock

Eleven Clock demo

Customize your Windows 11 taskbar clocks, including those on secondary monitors
Downloads@latest
Release Version Badge
Issues Badge
Closed Issues Badge
Clone this wiki locally