Welcome, Guest
Username: Password: Remember me

TOPIC: 2D Toolkit problem

2D Toolkit problem 4 years 9 months ago #162

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?
The administrator has disabled public write access.

2D Toolkit problem 4 years 9 months ago #164

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 1206
  • Thank you received: 256
  • Karma: 78
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 administrator has disabled public write access.
The following user(s) said Thank You: kreischweide

2D Toolkit problem 4 years 9 months ago #172

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: 4 years 9 months ago by kreischweide.
The administrator has disabled public write access.
Time to create page: 0.131 seconds
Template by JoomlaShine