logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Localization.Installation.Settings.Editor

    Classes

    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.

    SerenityLocalizationKeyValidator

    Validates the translation keys designers type into Serenity assets (any field with its IsTranslating<Field> toggle on) against the project's Unity Localization string tables. The GUI-free engine behind SerenityLocalizationKeyValidatorWindow, also driven headlessly by the project validation runner.

    SerenityLocalizationKeyValidatorWindow

    Editor window that validates the translation keys designers type into Serenity assets against the project's Unity Localization string tables.
    Anywhere a Serenity asset has an IsTranslating* toggle turned on (menu/modal titles, option labels, modal text, game-setting values…), the paired key is checked: a key that exists in no string table is reported as missing (it would silently fall back to the raw key at runtime), and a translating field left blank is reported as a warning.

    SerenityProjectValidationRunner

    Runs Serenity's project-integrity validators (Health Check, Missing References, Localization Keys) and reports the combined result — interactively (a menu item that writes JSON) or headlessly (ValidateFromCommandLine()), so CI or an AI agent can confirm a project is correctly wired and self-correct. Hosted here because this assembly already references the Global validator engines and owns the localization one (Global cannot reference Localization without a cycle).

    UnityLocalizationSettingsEditor

    Custom Unity Editor for UnityLocalizationSettings that provides interface for configuring language keys and localization tables.
    Integrates with Unity's localization system to display available tables and game settings for selection.

    In this article
    © 2026 Serenity. All Rights Reserved