LogoLumide

Translations

Translate a Flutter app's ARB files, or a lumide_l10n checkout, in a pane made for it. You translate whole sentences, never ICU: a plural is one sentence per case. Gray boxes are what the app fills in, and every string is checked as you type.

Your files stay the truth, byte for byte. Saving changes only the values you edited: no re-sorting, no reformatting.

TL;DR

  1. Open a Flutter app with l10n.yaml (or lib/l10n/*.arb), or a lumide_l10n checkout.
  2. Run Open Translations from the command palette, or Add Pane β†’ Translations.
  3. Pick a language, type, press ↡. That's it.

πŸ“‚ What it opens#

ProjectFound byUntranslated
Flutter gen-l10n l10n.yaml ( arb-dir , template-arb-file ), else lib/l10n/*.arb A key missing from the language's file
lumide_l10n en/ and locales/ beside tool/bin/l10n.dart An empty string

The template (app_en.arb, or en/) says which keys exist and what each needs. Every check compares against it, and the pane never changes it while you translate.

Each file of the template is an area: app_en.arb and settings_en.arb are app and settings. Pick one in the sidebar to see only its strings.

Edit the files by hand, or pull a teammate's changes, and the pane reads them again on its own. Your unsaved translations stay; one whose string changed on disk too is marked, so you pick which to keep.

An .arb file opens as code, with a Translations mode in its editor header. It shows that file's area and language, apart from the pane, and keeps your place: the string at your cursor is the one selected, and the cursor moves to the string you pick. Edits are shared, so the pane and the mode never disagree.

✍️ Translating#

The header picks the language you translate, and the one you read while translating: "ζ—₯本θͺž from English". Read Spanish if you're faster in it; Traditional Chinese starts best from Simplified. The reference changes what's shown, never what's checked.

The list puts what's left first. Click a row and it edits in place:

  • ↡ saves that string and moves to the next one to do. ⇧↡ adds a line. Esc takes your edit back.
  • ⌘1…9 inserts the English's placeholders. Typing { offers them too.
  • Your AI completion provider (Copilot, Supermaven, a plugin's) suggests the translation as gray text, from the neighbouring translations and the string's description. Tab takes it.

Plurals and selects become one whole sentence per case, under the template's sentence for it: "when 0", "when 1", "other, e.g. 5". {date}: {count, plural, =0{no check-ins} …} is just "{date}: no check-ins" when 0. Polish gets few and many too, with the template's other sentence beside them; Japanese gets only other. Lumide writes the ICU back for you, in the file's own shape. Developers can still Edit as ICU from a row's menu.

Gray boxes are filled in by the app. Hover one to see what goes there, such as "e.g. Mon 23 Nov", and keep it in your sentence.

⌘S saves everything changed. A string with an error isn't saved: its field keeps your text and says why.

πŸ”Ž Checks#

CheckLevel
ICU syntax; a placeholder missing, renamed or addedError
A plural form your language needsError
A placeholder the ARB's @key doesn't describeError
A plural form your language never usesWarning
1.5Γ— and 20 characters longer than the EnglishWarning
Spaces at the ends, double spaces, a lost … or final punctuation, same as the English Hint

Same on Purpose, in a row's menu, quiets the last one for "OK" or "Git".

🟒 Status#

DotStatus
HollowTo do
RedAn issue
HalfOutdated: the English changed since this was translated
DashedDraft: an agent wrote it, and nobody reviewed it yet
NoneDone

The sidebar keeps it short: To do, Needs a look (issues, outdated strings and drafts) and All. Drag its edge to make it wider, or hide it with the button at the top left: search and the filters move over the list.

Search looks through keys, the English, the translation and the notes. Accents don't matter, so chung toi finds "chΓΊng tΓ΄i", and a word can be part of a longer one: fail finds saveFailed. Exact phrases come first, then whole words. It searches every language too: a string found only in another one comes last, with that language's text under it. What matched is highlighted in every row.

The list holds still while you work. A string you save, or a language you pick in the grid, stays where it is. Click the filter again to tidy up. A row shows one problem at most, in plain words, with one Fix; smaller notes sit behind a ⚠.

An outdated string shows the English it was translated from, struck through, above the new English.

Where these marks live is up to you, in Settings β†’ Editor β†’ Translations β†’ Keep Review State in Translation Files:

  • Off (the default): they stay on this computer. Your files get nothing but the translations.
  • On: they're saved in the translation file, as the ARB format intends, and shared through Git with everyone else's. Only the strings you save get a note, right after them:
"save": "Store",
"@save": {
  "source_text": "LΖ°u",
  "x-state": "draft"
}

source_text is the English the translation was made from, and x-state marks a draft until it's approved. Flutter's gen-l10n ignores both in your language files, and your template is never touched. Either way, notes a teammate already saved are read and honoured.

πŸ€– Agents#

Agents translate through Lumide's tools (translations_projects, translations_list, translations_get, translations_set, translations_check), so their work goes through the same checks and the same writer as yours. An agent never edits the JSON by hand.

  • Translate with an Agent… (✨ in the header) starts an Agent Chat for what the list shows.
  • Strings fill in live as Drafts. Review them under Needs a look: βŒ˜β‡§R approves one, Approve All Without Issues takes the batch.
  • Add to Agent Chat (⌘L) sends a string with its context: "is this too formal?"
  • Fix with Agent on an issue sends the string and what's wrong.

πŸ›  For developers#

  • Used in: the details show the code using each key. Click to jump there.
  • New String (+ in the header, or an area's menu) asks for the key, the English and a note for translators, and adds it to the English.
  • For developers, in the sidebar: Unused lists keys no code uses. Missing lists keys your code uses that the English doesn't have, each with Add to English.
  • Delete Key… removes a key from every language, after checking again that no code uses it.
  • Rename Key… renames it in every language and in your code.
  • Edit Translations, in the editor's menu or the command palette, opens the pane on the key at your cursor.
  • Grid (⌘βŒ₯G) shows keys down and languages across, to check one key everywhere.

⌨️ Keys#

ActionDefault
Save and next to do↡
Next / previous to doβŒ˜β†΅ / βŒ˜β‡§β†΅
Next / previous stringβŒ₯↓ / βŒ₯↑
From search into the list↓
Next issueF8
Insert placeholder 1…9⌘1…9
Copy English to fieldβŒ˜β‡§C
Approve / mark draftβŒ˜β‡§R
Add to Agent Chat⌘L
Focus search⌘F
Toggle details⌘I
List / grid⌘βŒ₯G
Save⌘S

Change them in Settings β†’ Keymap β†’ Translations. On Windows and Linux, Ctrl replaces ⌘, and Alt replaces βŒ₯.

🌐 In your browser#

translate.lumide.dev is the same pane, with nothing to install:

  1. Open Folder… or Open Zip… with your app or lumide_l10n.
  2. Translate. Your edits stay in this browser until you download them.
  3. Download Changes gives a zip of only the files you changed, in your repository's layout. Unzip it over your checkout, and you're good to go!

Happy Coding 🦊#