logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    RecipeLocalizationDto
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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. en, es, ca).

    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 (String by default). Only String tables are generated; any other value is reported and skipped.

    tablesFolder

    Declaration
    public string tablesFolder
    Field Value
    Type Description
    string

    Folder for the collection's table assets, relative to the recipe outputRoot. Defaults to Localization/<collectionName> when empty.

    In this article
    © 2026 Serenity. All Rights Reserved