Author Topic: Localization problem  (Read 1948 times)

kulesz

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Localization problem
« Reply #1 on: December 30, 2014, 02:27:25 PM »

kulesz

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: Localization problem
« Reply #2 on: December 30, 2014, 02:53:18 PM »
Sorry, my bad.