Author Topic: Switching fonts for localization  (Read 2124 times)

Tim

  • Guest
Switching fonts for localization
« on: May 08, 2012, 10:56:03 AM »
I have localization working except I'm currently just switching between English words and a test word.  Before I dive to deep into this I wanted to make sure I was going down the right path.  The way the localization example is set up, all glyphs for all languages need to be in the same font correct?

I am new to localizing but I'm guessing if you want to support, for example English and Chinese, then normally that would be two separate fonts.  So, I would need to have localization change the font also, is that correct?  It looks like the current LanguageSelection script on the UIPopup does not do that, so this is something I would need to add.

Does that make sense, or am I missing something?  Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Switching fonts for localization
« Reply #1 on: May 08, 2012, 11:44:24 AM »
When Localization switches languages, it sends out the OnLocalize event. Your custom script can pick it up and switch the font as needed.