2D Toolkit problem

More
9 years 9 months ago #162 by kreischweide
Hey,

I'm encoutering a small problem using the Tk2dUITextInput script. It uses a "Empty Display label" for the empty onfocused state of a TextBox. Problem is the localize script does not translate mesh correctly on the first load. Only after I selected the item and reset the focus the content gets translated.

Is there a known workaround for this?

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

More
9 years 9 months ago #164 by Frank
Replied by Frank on topic 2D Toolkit problem
Hi,
The plugin currently doesn't support TextInput on 2DToolkit. You could add a check for that case in the Localize2DToolKit.cs at the DoLocalize_tk2dTextMesh.
Nonetheless, I will test that case and try adding a solution.

Thanks a lot,
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
The following user(s) said Thank You: kreischweide

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

More
9 years 9 months ago - 9 years 9 months ago #172 by kreischweide
Replied by kreischweide on topic 2D Toolkit problem
Thank you!

I've had a strange bug where the PlayerPrefs["I2 Language"] were set to "Africaans" and would stay, though only en_US and de_DE are available in the languages tab. I had to delete the complete PlayerPrefs to get it working again.

It's where I noticed a strange thing in the LocalizationManager: HasLanguage(s) seems to always report three working languages, even now. Afrikaans, Englisch (United States) and German (Germany). I've iterated over Sources[n].mLanguages[m] and always get those three back. Maybe its okay, but it seems strange.
Last edit: 9 years 9 months ago by kreischweide.

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

Time to create page: 0.142 seconds
Template by JoomlaShine