Porting to a different language?

Hi,

I was wondering if Unity supports different language fonts? If so, how would I go about converting in-game text from English to something like Spanish or Portuguese?

Thanks,
Sandro

You can import true type fonts into your Unity project then at run-time swap which fonts are being used as well as which strings are being displayed in order to show text in different languages if you’d like. But such a task will be entirely manual, there’s no automatic “switch all text displays to use this font/language”.

For example, you might include all the fonts you need then for each text element attach a script with variables containing the various strings it might show (ex: “Thank you”, “Gracias”, “Obrigado”), then based on some flag in your content you switch font that display uses (if necessary) and set the actual string it will display on Awake or Start.

Thank you,

Luckily, the font that I’m using looks like it has all the extra Spanish/Portuguese characters. Since there’s not too much in-game text, I’ll probably end up making different builds/projects for the different localizations.

Thanks again.
Sandro