Create a table collection and author keys, translations, variants, and metadata.
A table collection holds your translations: one key per row, one locale per column. Create one collection per area of content, for example one for menus and one for narrative text. For the underlying concepts, refer to Localization tables.
Before you start, make sure you have the following:
To create a table collection:
Unity creates a folder containing the collection asset, the shared key data, and one table per locale. When you move or rename the collection in the Project window, Unity keeps the sibling assets in sync. When you delete the collection, Unity also deletes the sibling assets.
You can also create new collections from the Resource Tables window. Refer to Resource Tables window reference.
To add a key and its translations:
To rename a key, double-click the key.
Renames keep the key’s ID, so references keep working.
To add a locale that exists in the project but isn’t yet in the collection:
Unity creates the locale’s table for the collection and shows the new column.
To add a new locale to the project itself, refer to Add locales. To hide or show existing columns, use the Key column header menu’s Columns submenu.
You can’t change an entry’s type once it is created.
Select the entry type based on your needs:
Resources path per locale. Refer to Localize assets.
Enabling the Smart string toggle on a key treats its values as Smart String formats. The toggle is available on String entries only. To enable it:
The key’s values now evaluate at runtime with the arguments and variables you pass. Refer to Display dynamic values in a localized string for a complete example.
Variants let a key hold several values chosen by a selector, for example one value per platform. Choose the selector when you create the key. To create a variant key:
To add another variant to an existing variant key, click the row’s actions menu (⋮), select Add variant, and then choose a variant key. Unity resolves variants automatically at runtime. For the underlying concepts, refer to Variants.
Metadata attaches at four scopes: a single entry, a key across all locales, one table, or the whole collection. To attach metadata:
Refer to Metadata (Localization tables) for the built-in types and to Metadata (Resource Tables window reference) for the menu locations.