Import is the bulk way to get keys in; the API is the automated way to get translations out into your apps. Both import and export are on the project’s Import / Export tab.
Import#
- JSON — flat
{"home.title": "…"}or nested{"home": {"title": "…"}}. You can import several locales at once: select multiple files (the locale is read from each file name, likeen.jsonorde-CH.json, and shown for you to change), or upload one object keyed by locale ({"en": {…}, "fr": {…}}) and tick keyed by locale. - i18next plurals — tick i18next plural keys to fold
key_one,key_other… into one plural key. The same toggle on Export splits them back. - CSV / XLSX — a
keycolumn plus one column per locale.
Every format merges: existing values are updated and new keys are added. Missing languages are created for you (this needs the add / remove languages permission), blank cells are skipped so they never wipe a value, and the import adds a single entry to the activity feed.
Export#
- JSON for one language, or for all of them in one file keyed by locale — flat or nested.
- CSV and XLSX always cover every language.
Android strings.xml#
Android: import one or more strings.xml files and pick the language of each. Export writes one language at a time as a strings.xml, and the CLI can write the whole res folder for you.
- Key names. Android names can only use letters, digits and
_, so every other character becomes_on export:home.titleis written ashome_title. Importing that file again updateshome.titlerather than creating a second key. If two keys end up with the same name, the first one is kept. - Plurals become one ICU value,
{count, plural, …}, and turn back intopluralson export. A plural with branches like=0has no Android form, so it is exported as a plain string. - String arrays become one key per item, such as
planets[0]andplanets[1], and are grouped back into an array on export. - Strings marked
translatable="false"get the tagandroid:non-translatableon import and are exported in the default language only.
Android escapes such as \n, \" and \@ are decoded on import, so translators see plain text, and added back on export. Inline tags like b and CDATA sections stay as they are. Empty values are left out of the file, so Android falls back to the default language. Comments and formatting are not kept: the exported file is rewritten in a clean, consistent layout.
Snapshots#
The Snapshots tab keeps copies of the whole project, every language included, in the format you choose: JSON (nested or flat), CSV or XLSX. A snapshot is the same file Export gives you for all languages. Snapshots need the manage snapshots permission.
- Scheduled — turn on automatic snapshots, daily or weekly. They are taken overnight.
- Snapshot now — take one at any time.
- Retention — keep the newest 1 to 30. Older ones are deleted when a new one is taken.
- Download, delete or restore any snapshot.
- Android — download one language of any snapshot as a
strings.xml, for example to rebuild an older app version. Which keys count as non-translatable follows the project’s current tags.
Restoring puts every value in the snapshot back, and clears values that were empty then. Keys added since are kept, with their comments. Restoring also needs the import files permission.
Snapshots hold values only — not statuses, comments or tags. A restored value that differs from the current one is marked translated; values that didn’t change keep their status.