Localization Language
Stores language data and content
Overview
A ScriptableObject that represents a specific locale (e.g., English, Japanese). It stores the actual translated content for every table in the project.
These assets are managed automatically by Localization Settings, but you can find them alongside as the settings asset (usually under Resources/Languages).
Table Content
Within the LocalizationLanguage, data is organized by Tables. Each entry (TableContent) contains:
- Key: The unique identifier.
- String Value: The translated text.
- Audio Value: An optional AudioClip.
- Sprite Value: An optional Sprite.
You can use the Localization Table Window to edit table contents easily. Google Sheets pulls in Play Mode are held separately in memory; they do not change these asset values. Use the manager or Localized Object lookup methods to read runtime updates.
Properties
| Property | Type | Description |
|---|---|---|
ID | string | Unique identifier (e.g., "en-US", "ja"). |
languageName | string | Display name (e.g., "English"). |
localizedName | string | Native name (e.g., "日本語"). |
icon | Texture2D | Optional flag or icon texture. |
fontMappings | List<FontMapping> | TMP source-to-target font mappings for this language. See Font Swapper. |
tables | List<Table> | The list of localized content for each table. |