Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kulesz

Pages: [1]
1
NGUI 3 Documentation / Re: Localization system
« on: December 30, 2014, 04:51:34 PM »
Got it working :)

It seems that language string that I passed had "\r\n" on the end (which was difficult to spot in inspector).
After removing those everything works fine.

2
NGUI 3 Documentation / Re: Localization system
« on: December 30, 2014, 03:09:10 PM »
Thanks, but I still have some issue,
I've changed the file name and there's only one Localization.txt file (double checked). And this is what I'm doing:

  • I opened fresh Unity editor with the project loaded
  • I click on the label object
  • Apparently everything is fine, because I see proper values in the UILocalize inspector (green tick):
[ATTACHMENT SCREEN 1]
  • The preview functionality also works in the editor
  • I'm running the game
  • Everything is still fine in the inspector
  • I'm clicking on some buttons to change the language - and nothing happens - the label still has text in English
  • I'm disabling the panel where the label is and turning it back on - the labels has the KEY text
  • Inspector shows me this (red tick):
[ATTACHMENT SCREEN 2]


3
NGUI 3 Support / Re: Localization problem
« on: December 30, 2014, 02:53:18 PM »
Sorry, my bad.

4
NGUI 3 Support / Localization problem
« on: December 30, 2014, 12:27:33 PM »
I got my localization system partially working, but it seems to have kind of unpredictable behaviour.

A have only one Localization.csv file in the project.
When I add UILocalize component to label I cannot select my keys from the list (red cross on the right). However after manually entering key and running a project the preview field get's filled and it works as expected (while still running). After stopping the game in editor UILocalize "holds" its values for a while / a few clicks and then it disappears again (red cross).
I cannot also change language in runtime. When I do: Localization.language = "French" nothing changes. Labels stay the same, but whats interesting - after disabling and enabling buttons the labels change to 'key' value.
It's seems very random and messy to me... Does anyone know what can cause such problems?

5
NGUI 3 Documentation / Re: Localization system
« on: December 30, 2014, 08:06:00 AM »
I got my localization system partially working. But after reading 4 pages of this topic there's still a problem.

A have only one Localization.csv file in the project.
When I add UILocalize component to label I cannot select my keys from the list (red cross on the right). However after manually entering key and running a project the preview field get's filled and it works as expected (while still running). After stopping the game in editor UILocalize "holds" its values for a while / a few clicks and then it disappears again (red cross).
I cannot also change language in runtime. When I do: Localization.language = "French" nothing changes. Labels stay the same, but whats interesting - after disabling and enabling buttons the labels change to 'key' value.
It's seems very random and messy to me... Does anyone know what can cause such problems?

Pages: [1]