Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Localize game in Tagalog

Discussion in 'Editor & General Support' started by Antoine_OSG, May 30, 2018.

  1. Antoine_OSG

    Antoine_OSG

    Joined:
    Sep 2, 2016
    Posts:
    43
    Hello,
    I need to localize my game in Tagalog (Philippines, it's really a language : http://www.lingoes.net/en/translator/langcode.htm).
    I have an existing system that relies on the SystemLanguage list to find the language of the device and fetch the appropriate string in an XML file. However, as Tagalog is not in SystemLanguage, I can't detect that the player is using that language.
    Is there a way to add entries in SystemLanguage easily, or should I implement something?
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,226
    No, you can not add your own entries to SystemLanguage, its an enum. I suggest you add your own enum or locale system. We are working on a localization system to solve these issues in the future but that wont help you at the moment.
     
  3. Antoine_OSG

    Antoine_OSG

    Joined:
    Sep 2, 2016
    Posts:
    43
    Ok, thanks for your answer!