Multilanguage support with multiple fonts (changing styles)
Posted: Sun Nov 07, 2010 2:44 am
I would like to put multilanguage support in my game, allowing the user to switch between two languages in the same game. config.translations can be changed at any time, so translating the menu text on the fly isn't a problem.
However, I would like to use different fonts for the different languages (English uses an sfont, which doesn't support non-english characters). Is there any way to change the font after the game is running? Any changes I make to the styles outside of init blocks don't seem to work...
Thanks
However, I would like to use different fonts for the different languages (English uses an sfont, which doesn't support non-english characters). Is there any way to change the font after the game is running? Any changes I make to the styles outside of init blocks don't seem to work...
Thanks