Author Topic: UIPopupList Localozation problem  (Read 3539 times)

ddfire

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 32
    • View Profile
UIPopupList Localozation problem
« 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

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIPopupList Localozation problem
« Reply #1 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.