DocsPlatform
The editor
Review, edit, approve and retranslate strings, with live checks that a translation keeps the source's variables and tags.
The editor is the Translations page of a project. It is a two-column list: the source string on the left, the translation for the selected language on the right. It is backed by the strings API.
Finding strings
Choose a target language, then filter by status:
| Filter | Shows |
|---|---|
| All | Every string of the project. |
| Missing | Strings with no translation in this language. |
| Unreviewed | Machine or edited translations that nobody has approved. |
| Approved | Approved translations. |
Search matches source text, string ids, context and translation text. Results are newest first and load as you scroll. Strings from batch jobs and runtime translation appear here; segments of uploaded files do not.
Status of a translation
| Status | Meaning |
|---|---|
| Machine | Produced by the model and untouched. |
| Edited | Changed by a person, not yet approved. |
| Approved | Marked as reviewed. Approved translations are what a project with require review publishes. |
Each row also shows the string’s id and context if it has them, a marker for plain-text (STRING) messages, and the first characters of its hash when selected.
Editing
Select a row to edit its translation. The text box highlights variables, tags and ICU keywords, and checks the draft against the source as you type. A translation cannot be saved if it:
- is empty,
- is missing a variable or tag that the source has, or adds one the source does not have,
- changes the kind of an argument (for example turns a
pluralinto plain text), or - drops an exact-match plural branch or select branch that the source has.
The same check runs on the server and returns incompatible_message if you bypass the UI. Plain-text strings are not checked. Warnings (for example, a plural without the categories the target language uses) do not block saving.
| Action | Result |
|---|---|
| Save | Stores the text as edited. |
| Save and approve | Stores the text and approves it. |
| Approve | Approves the existing translation unchanged. |
| Unapprove | Moves it back to edited. |
| Retranslate | Asks the model again using the current instructions and glossary. It replaces the translation, including an edited or approved one. |
| History | Shows earlier versions with who made them. |
| Delete string | Removes the source string and all of its translations. Use it for strings your code no longer contains. |
Keyboard shortcuts: Ctrl or Cmd with Enter saves and moves to the next string; adding Shift also approves; Alt with the arrow keys moves between rows; Escape discards the draft.
Editing and approving require the member role. Viewers can read but not change anything.
Changes do not publish themselves
Edits are stored immediately and visible through the API’s latest-translations route, but the CDN keeps serving the last published snapshot until you publish. Every save also fires the translation.updated or translation.approved webhook.
Something wrong or unclear on this page? Open an issue.