logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class LocalizationRecipeImporter

    Generates Unity Localization String Table Collections from the recipe localization section: ensures the requested locales exist, creates or finds the collection, and upserts each key's per-locale text. Lives in the localization assembly (which references the recipe assembly) and is discovered by reflection, so the core recipe engine never depends on the Unity Localization package.

    Inheritance
    object
    LocalizationRecipeImporter
    Namespace: Serenity.Localization.Installation.Settings.Editor
    Assembly: Serenity.UnityLocalization.Installation.Editor.dll
    Syntax
    public sealed class LocalizationRecipeImporter : RecipeSectionImporterBase
    Remarks

    Scope: String tables with inline entries. CSV import and Asset tables are not handled yet (a tableType other than String is reported and skipped). All writes are gated on the context's dry-run flag, so Validate/Dry-Run never touch the project.

    Constructors

    LocalizationRecipeImporter()

    Declaration
    public LocalizationRecipeImporter()

    Properties

    Order

    Declaration
    public override int Order { get; }
    Property Value
    Type Description
    int

    SectionName

    Declaration
    public override string SectionName { get; }
    Property Value
    Type Description
    string

    Methods

    Import(SerenityRecipeImportContext)

    Declaration
    public override void Import(SerenityRecipeImportContext context)
    Parameters
    Type Name Description
    SerenityRecipeImportContext context

    Validate(SerenityRecipeImportContext)

    Declaration
    public override void Validate(SerenityRecipeImportContext context)
    Parameters
    Type Name Description
    SerenityRecipeImportContext context
    In this article
    © 2026 Serenity. All Rights Reserved