Explore the controls in the Resource Tables window to author keys, translations, variants, and metadata.
Open the window with Window > Localization > Resource Tables. The window edits table collections, with one row per key and one column per locale. For the authoring workflows, refer to Create and edit table collections.
The window contains the following areas and controls.
Lists the project’s table collections. Select one to edit it. To create a new collection, select New Table Collection and choose where to save it and its per-locale tables.
Shows the selected collection. Each row is a key, and each column is a locale. Rows show the entry’s type, and asset rows show the storage mode for each value (Direct or Resources).
Some of these controls are only accessible from the row’s actions menu (⋮), for example Smart string and Add variant.
| Control | Description |
|---|---|
| Add Entry | Creates a key with the name you enter and the type you select, String, an asset type, or a Variant type with a selector. |
| Rename key | Renames the key. To rename a key inline, double-click it. Available from the row’s actions menu (⋮). Renames keep the key’s ID, so references keep working. |
| Delete key | Removes the key and its values from every locale. Available from the row’s actions menu (⋮). |
| Smart string | Sets whether the key’s values format at runtime as Smart Strings. Available from the row’s actions menu (⋮) on string entries. |
To reorder keys, click and drag a row.
The Key column header has a menu button (⋮) that manages the collection’s columns:
| Control | Description |
|---|---|
| Add locale | Opens a submenu of project locales that aren’t yet in this collection. Selecting one creates the locale’s table for the collection and shows the new column. When every project locale is already in the collection, this submenu is disabled. To add a new locale to the project, refer to Add locales. |
| Columns | Opens a submenu of the collection’s columns. Selecting one toggles its visibility. The submenu includes the ID column. |
A variant key holds several values chosen at runtime by a selector. For the concept, refer to Variants; for how to create one, refer to Add variants. Once a key is a variant key, the row’s actions menu (⋮) offers the following controls:
| Control | Description |
|---|---|
| Add variant | Adds another variant option to the key. Opens a submenu of the selector’s available keys. Available on the variant key’s row. |
| Remove variant | Deletes one variant row. Available on each variant row’s actions menu (⋮). |
Metadata attaches at four scopes and opens in one of three popup titles:
| Menu item | Description |
|---|---|
| Shared metadata… | Opens the Shared metadata popup for the collection’s shared data. Available from the Key column header menu. |
| Table metadata… | Opens the Table metadata popup for one locale’s table. Available from a locale column header menu. |
For the built-in metadata types, refer to Metadata.
The window’s import/export menu writes the collection to a file and reads one back. CSV, XML Localization Interchange File Format (XLIFF), and JSON are built in. The menu offers three items for each supported format (for example, JSON):
Refer to Import and export table collections.
The search field filters the rows. Free text matches key names and values. Filters narrow by field:
| Filter | Description | Example |
|---|---|---|
k: or key:
|
Key name. | k:menu |
v: or value:
|
Entry values in any locale, including variants. | v:bonjour |
type: |
Entry type: string, asset, variant-string, or variant-asset. |
type:asset |
smart: |
Whether the key is a Smart String. | smart:true |
loc: or locale:
|
Locales that have a value for the key. | loc:fr |
Combine filters and text: type:string smart:true score.