Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: ddfire on June 10, 2013, 10:26:53 AM

Title: UIPopupList Localozation problem
Post by: ddfire on June 10, 2013, 10:26:53 AM
Hi,
i needed to add .Trim() in lines 169 and 507 to properly show the localized text, if not i get key not found with "anykey\r"  so to remove the '\r' i added the trim() and started to work properly.
is there any other solution?

i added the values in the popuplist by hand copy/paste them from an spreadsheet to unity.

Thanks
David
Title: Re: UIPopupList Localozation problem
Post by: ArenMook on June 10, 2013, 02:34:15 PM
Sounds like your spreadsheet is copying \r\n instead of just \n, and Unity treats it as-is. I have no immediate solution for you, so your own fix is as good as any.