Search Unity

TextMesh Pro How to localize text stored in object property or generated by method?

Discussion in 'UGUI & TextMesh Pro' started by hsjaaa, Jun 3, 2019.

  1. hsjaaa

    hsjaaa

    Joined:
    Apr 30, 2016
    Posts:
    29
    I used many scriptable object in the game, and most text in TMP is generated from the scriptable object name, serialized field and method like ToString() or GetSomeText(). I Think I can't extract the text out since most of them is dynamic generated. So can how can I localize them? Thanks!

    Edit: Just found out Scriptable Object is using yaml markup, so maybe could extract those yaml out and do localization, and read the localized yaml file?
     
    Last edited: Jun 4, 2019