Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: catlard on September 15, 2014, 03:14:17 AM

Title: Can't get localization to recognize a CSV.
Post by: catlard on September 15, 2014, 03:14:17 AM
Hey...I've got a localization file that, when I put it in the Resources folder, doesn't get recognized by NGUI, or can't be found in some way. I know the Resources folder is working because I'm using it elsewhere, to load prefabs.

I've never used the localization functions with NGUI before, so I might be doing something else incorrectly. Here's my localization file. Is there anything wrong with it? Why might Unity not be finding it? It's called "Localization.csv".

https://docs.google.com/spreadsheets/d/1SZy-vKIyu1hon74iMbPB7a5S1THv4NlHbW1iwjzDdsQ/edit?usp=sharing

And here is a screenshot of the Unity situation:

http://i.imgur.com/17fn5Au.jpg

S
Title: Re: Can't get localization to recognize a CSV.
Post by: ArenMook on September 15, 2014, 04:29:56 AM
NGUI comes with a file called "Localization.txt" located in NGUI's Resources folder. If you didn't delete that one, then you have two files named the same, and it's not clear which one will be loaded.
Title: Re: Can't get localization to recognize a CSV.
Post by: catlard on September 15, 2014, 09:42:41 AM
Thanks! I'm not sure what happened, but it appears to have been resolved. I had two copies of the localization csv, and even though they were the same, I guess it didn't use the first one, but instead didn't find any, if that makes sense. Working well now, though! Cheers.

Cheers,

S