Translations for the Comet Launcher.
You do not need to be a programmer to contribute here. Every file is a list of labels and the text they should show. Edit the text, open a pull request, done.
| Code | Language |
|---|---|
en |
English (reference) |
de |
German |
es |
Spanish |
fr |
French |
ja |
Japanese |
nl |
Dutch |
pt-BR |
Portuguese (Brazil) |
ru |
Russian |
Adding a language means adding locales/<code>.json, where <code> is a
Bcp 47 tag such as pl or
pt-PT. Copy locales/en.json and translate the values — never the keys.
The code asks for settings.window.fullscreen; nesting is just how the file
stays readable. en.json uses exactly the same structure.
Three fields, at the top, in a comment:
| Field | Meaning |
|---|---|
language |
The language code. Must match the filename. |
revised |
Date of your change, YYYY-MM-DD. |
editor |
Your GitHub handle, so you get credit and can be asked about it. |
Update all three when you change a file. A check runs on every pull request and will tell you if one is missing or malformed.
- Only change values, never keys. The key is how the launcher finds the text; renaming one makes that label disappear.
- Leave
{placeholders}alone.{count}and{name}get replaced at runtime. You can move them within the sentence to fit your grammar, but do not translate or delete them. - A missing key is fine. Untranslated keys fall back to English, so a half-finished file is safe to merge. Adding a key that English does not have is not fine — that is flagged as a typo.
- Mind the punctuation. Trailing commas are not allowed in JSON, and every value needs its double quotes.
- Keep it a string. Nested sections are fine; a list of values is not.
node scripts/validate.mjsNo install needed. It reports untranslated keys as notes (harmless) and structural problems as errors (the pull request will fail).
MPL-2.0 license