Skip to content

About

🏷️ Translate Comet Client with us, for no price.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comet Launcher translations

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.

Languages

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.

What a file looks like

// Comet Launcher translations
//
// language:  de
// revised:   2026-11-30
// editor:    your-github-name
//
// Keys are nested, and code addresses one by its dotted path, e.g.
//   t('settings.window.fullscreen')
//
// This header is stripped before the file is loaded, so it is safe to
// edit by hand. Please do not remove the three lines above it.
{
    "settings": {
        "window": {
            "fullscreen": "Vollbild starten"
        }
    }
}

The code asks for settings.window.fullscreen; nesting is just how the file stays readable. en.json uses exactly the same structure.

The header

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.

Rules

  • 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.

Checking your work

node scripts/validate.mjs

No install needed. It reports untranslated keys as notes (harmless) and structural problems as errors (the pull request will fail).

MPL-2.0 license

About

🏷️ Translate Comet Client with us, for no price.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages