Export a table collection to CSV, XLIFF, or JSON and import the result back.
The Resource Tables window writes a whole collection, including every locale, to a single file and reads the file back. Use it to hand content to translators or to move a collection between projects. Three formats are built in:
| Format | Description |
|---|---|
| CSV | One row per key, one column per locale. Opens in any spreadsheet. |
| XLIFF | XML Localization Interchange File Format — the exchange format most translation tools accept. |
| JSON | The full collection snapshot, including metadata; best for moving collections between projects. |
Note: When the com.unity.localization package is installed, its Google Sheets synchronization also appears in the same menus.
To export a collection:
JSON preserves keys, values, IDs, Smart flags, and metadata, so a JSON file re-imports into the collection unchanged. CSV and XLIFF carry only keys and values, so a re-import drops IDs, Smart flags, and metadata. Unity omits entries flagged Exclude entry from editor export. Refer to Localization tables.
The import menu applies to the collection selected in the window. For each supported format, it offers two modes:
{Format} (Merge) updates matching keys, adds new ones, and keeps everything else.{Format} (Replace) makes the collection match the file and removes keys the file doesn’t contain.Where {Format} is the format you’re importing, for example JSON.
Imports register as a single undo step. To roll one back, focus the Resource Tables window and select Edit > Undo Import, or press Ctrl+Z (macOS: Cmd+Z).