Orca in your language
Pick the language Orca's interface is shown in, and how to add or improve a translation.
Orca's interface can be shown in another language than English. Anything a translation doesn't cover yet is shown in English, so a language that's partly done still works.
Pick a language
Go to Settings > General > Language:
- Automatic follows your system's language, but only when a speaker has reviewed Orca's translation into it. Otherwise Orca stays in English.
- Pick a language by name to use it whatever your system's language is. A language marked machine-translated hasn't been reviewed yet: it's readable, but expect the odd clumsy phrase.
The menu in the system tray follows the same choice. The daemon's logs and messages, and what you copy into a bug report, stay in English.
| Language | Status |
|---|---|
| English | Orca's own language |
| 简体中文 (Chinese, Simplified) | Machine-translated |
| Français (French) | Machine-translated |
| Deutsch (German) | Machine-translated |
| 日本語 (Japanese) | Machine-translated |
| 한국어 (Korean) | Machine-translated |
| Norsk bokmål (Norwegian) | Machine-translated |
| Português do Brasil (Portuguese, Brazil) | Machine-translated |
| Español (Spanish) | Machine-translated |
Improve a translation
Each language is one file in Orca's repository, gui/src/lib/locales/<code>.json (zh-CN.json, de.json). Its keys are the English text; its values are the translation:
{
"$meta": { "name": "Deutsch", "english": "German", "reviewed": false, "match": ["de"] },
"Stack restarted": "Stack neu gestartet",
"Remove {name}?": "{name} entfernen?",
"{count} containers": { "one": "{count} Container", "other": "{count} Container" }
}- Keep each
{placeholder}as it is: Orca fills it in. - A text that depends on a number has a form per plural category of the language (
oneandotherfor German, one form for Chinese). "reviewed": truein$metasays a speaker has gone through the whole file. Only then does Automatic pick it.
To add a language, copy an existing file to the new language's code. In gui/, npm run i18n:check -- --missing <code> prints every string that file still lacks, and npm run i18n:check checks the file: placeholders, plural forms, and keys Orca no longer uses.
A pull request with a translation changes only files in gui/src/lib/locales/.