Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Problem with the osx system locale selector

Discussion in 'Localization Tools' started by denis_bogdanov, Apr 12, 2023.

  1. denis_bogdanov

    denis_bogdanov

    Joined:
    Apr 20, 2015
    Posts:
    135
    Hello! I transferred a project from windows to osx and encountered a problem (everything works fine on windows).

    Issue:
    System locale selector is always "English".

    ---------------------
    The system language is "Russian".

    I created a simple code to check this:

    void Awake(){
    Debug.Log(Application.systemLanguage);
    Debug.Log(CultureInfo.CurrentCulture);
    }

    On osx I get:
    "Russian"
    "en-US"

    On windows I get:
    "Russian"
    "ru-RU"

    I'm new to osx, is this a localization package problem or c#(mono .net) for osx?
    Thanks in advance!
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,845
  3. denis_bogdanov

    denis_bogdanov

    Joined:
    Apr 20, 2015
    Posts:
    135
    karl_jones likes this.
  4. denis_bogdanov

    denis_bogdanov

    Joined:
    Apr 20, 2015
    Posts:
    135