Class RecipeLocalizationDto
A Unity Localization String Table Collection to create or update from a recipe: the collection name, the
locales to ensure exist, and the per-key translations. Authored by LocalizationRecipeImporter.
Inherited Members
Namespace: Serenity.ProjectRecipe.Infrastructure.Editor.Model
Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
Syntax
public class RecipeLocalizationDto
Remarks
Per-locale text is an array of RecipeLocalizationValueDto (not a locale→text map) because UnityEngine.JsonUtility cannot serialize dictionaries — matching the rest of the recipe DTOs.
Constructors
RecipeLocalizationDto()
Declaration
public RecipeLocalizationDto()
Fields
collectionName
Declaration
public string collectionName
Field Value
| Type | Description |
|---|---|
| string | String Table Collection name to create or update. Defaults to id when empty. |
ensureLocales
Declaration
public string[] ensureLocales
Field Value
| Type | Description |
|---|---|
| string[] | Locale codes to create if missing (e.g. |
entries
Declaration
public RecipeLocalizationKeyDto[] entries
Field Value
| Type | Description |
|---|---|
| RecipeLocalizationKeyDto[] | The key/translation entries for this collection. |
id
Declaration
public string id
Field Value
| Type | Description |
|---|---|
| string | Stable logical identifier for this collection entry (used in reports). |
tableType
Declaration
public string tableType
Field Value
| Type | Description |
|---|---|
| string | Optional table kind, as a name ( |
tablesFolder
Declaration
public string tablesFolder
Field Value
| Type | Description |
|---|---|
| string | Folder for the collection's table assets, relative to the recipe |