Secondary terms

More
9 years 6 months ago - 9 years 6 months ago #280 by JHoffstein
Secondary terms was created by JHoffstein
[Edit: Please ignore this post, or feel free to delete it. The problem has somehow fixed itself]

When localizing text in my game, I'm using 2d Toolkit fonts as a secondary term. This lets me use different fonts for different languages, so that I don't need to cram every single character into one atlas :) The problem I'm running into is that when I swap languages, the secondary term isn't updating. So, for example, if I update the language to Russian, the font is still set to the English 2dtk font.

This is what I'm using to update the language:
LocalizationManager.CurrentLanguage = LangName;

Am I missing a step?

Thanks,
Jenna

PS - Thank you for your amazing and speedy forum support over the last few days!
Last edit: 9 years 6 months ago by JHoffstein.

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #281 by Frank
Replied by Frank on topic Secondary terms
Hi,
Its great that you was able to set it up.

Nonetheless, here are some steps to set the font in case someone else get problems too:

1- Create a term for the font (e.g. "Font1")
2- Assign a font to each of the languages (e.g. English: Arial Rusian: ArialRU)
* The fonts you will use need to be referenced in the "Assets" section of the Localize component or the Language Source
* Or they have to be in a Resource folder (e.g. if the font you typed is "Arial" it should be in (Assets/Resources);
3- Assign the term to the secondary term in the localize component


Thanks,
Frank

Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #282 by Frank
Replied by Frank on topic Secondary terms
Hi,
Its great that you was able to set it up.

Nonetheless, here are some steps to set the font in case someone else get problems too:

1- Create a term for the font (e.g. "Font1")
2- Assign a font to each of the languages (e.g. English: Arial Rusian: ArialRU)
* The fonts you will use need to be referenced in the "Assets" section of the Localize component or the Language Source
* Or they have to be in a Resource folder (e.g. if the font you typed is "Arial" it should be in (Assets/Resources);
3- Assign the term to the secondary term in the localize component


Thanks,
Frank

Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out

Please Log in or Create an account to join the conversation.

Time to create page: 0.149 seconds
Template by JoomlaShine