docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UpgradedLocalesProvider

    Answers the package's locale queries from the built-in localization module.

    Inheritance
    object
    UpgradedLocalesProvider
    Implements
    ILocalesProvider
    Namespace: UnityEngine.Localization.Upgrade
    Assembly: Unity.Localization.dll
    Syntax
    [Serializable]
    public class UpgradedLocalesProvider : ILocalesProvider
    Remarks

    The upgrade wizard installs this in place of LocalesProvider, which loads locale assets through Addressables. After an upgrade the module owns the locale list and the old locale assets may be gone, so this provider mirrors the module's locales as in-memory package locales and never touches Addressables. The list is read-only from the package side; manage locales in Project Settings > Localization.

    Properties

    Name Description
    Locales

    The list of Locales available.

    Methods

    Name Description
    AddLocale(Locale)

    Reports that the module owns the locale list and adds nothing.

    GetLocale(LocaleIdentifier)

    Attempt to retrieve a Locale using the identifier.

    RemoveLocale(Locale)

    Reports that the module owns the locale list and removes nothing.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)