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

3 issues related Localize String

Discussion in 'Localization Tools' started by unace, Mar 29, 2020.

  1. unace

    unace

    Joined:
    Oct 13, 2014
    Posts:
    23
    Hi Unity team,
    I am facing 3 issues while I am testing the localization tools.
    I am sorry my english is bad, so I attached a sample project.

    1. Error in the inspector
    If you click Assets/Settings/CharacterSettings and expand all, you'll see "You can't nest Foldout Header..." error in the inspector.

    upload_2020-3-29_13-33-13.png

    2. LocalizedStringBehavior doesn't update inspector properties in preview mode.
    If you click next or prev button in preview mode, the text is changed well, but LocalizadStringBehavior properties aren't.
    upload_2020-3-29_13-36-2.png

    3. I'd like to change displayname based on a selected character in runtime. I tried
    "displayName.StringReference = stringReference;" first, but it didn't work.
    "displayName.StringReference.SetReference(stringReference.TableReference, stringReference.TableEntryReference);" this one works well.
    Is it intended that the first one doesn't work?

    upload_2020-3-29_13-39-27.png

    Please let me know if you have any questions.

    Thanks
     

    Attached Files:

  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,846
    Hi, could you please file a bug report for this?

    Im not sure I understand. Could you file a bug report with an example?
    They should both work, could you also file a bug report for this? ;)
     
  3. unace

    unace

    Joined:
    Oct 13, 2014
    Posts:
    23
    I will report them. Thanks for the reply.
     
    karl_jones likes this.