Version: Unity 6.7 Beta (6000.7)
Language : English
Create and edit table collections
Localize strings

Import and export table collections

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.

Export a collection

To export a collection:

  1. Open Window > Localization > Resource Tables and select the collection.
  2. From the window’s import/export menu, select Export, then the format you want (for example, JSON), then a destination.

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.

Import a file

The import menu applies to the collection selected in the window. For each supported format, it offers two modes:

  • Import > {Format} (Merge) updates matching keys, adds new ones, and keeps everything else.
  • Import > {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).

Additional resources

Create and edit table collections
Localize strings