docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor ModulePseudoLocale

    ModulePseudoLocale()

    Creates a pseudo locale with the default method set.

    Declaration
    public ModulePseudoLocale()
    Remarks

    Registers under the code "pseudo"; use the other constructor to choose the code.

    ModulePseudoLocale(string, string)

    Creates a pseudo locale for a specific culture code.

    Declaration
    public ModulePseudoLocale(string code, string localeName = null)
    Parameters
    Type Name Description
    string code

    The culture code the pseudo locale registers under.

    string localeName

    The display name, or null to derive one from the culture.

    Remarks

    Use this when the pseudo locale should shadow a real culture, so startup selection based on the device language can reach it.

    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)