docs.unity3d.com

Localization 1.5.1

Search Results for

    Show / Hide Table of Contents

    Method RemoveLocale

    RemoveLocale(Locale, bool)

    Removes the locale from the Localization system.

    Declaration
    public static void RemoveLocale(Locale locale, bool createUndo = false)
    Parameters
    Type Name Description
    Locale locale

    The Locale to remove so that it is no longer used by the Localization system.

    bool createUndo

    Used to indicate if an Undo operation should be created.

    Examples

    This shows how to remove a Locale from the project.

    // Find the Locale
    var locale = LocalizationEditorSettings.GetLocale("en");
    
    // Remove it from the Localization system
    LocalizationEditorSettings.RemoveLocale(locale);
    In This Article
    • RemoveLocale(Locale, bool)
    Back to top
    Copyright © 2024 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)