Author Topic: Load Localization files with web player  (Read 2387 times)

fabricio

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Load Localization files with web player
« on: April 10, 2014, 07:11:37 AM »
Hi, is it possible to have dynamicaly loaded (via web player) localization files? I need to have these data out of my application. I need a file somewhere (like Localization.txt) and load that dynamicaly at runtime (inside web player) and apply that to NGUI, is that possible? How can i achieve that? Thankyou.
« Last Edit: April 10, 2014, 07:36:33 AM by fabricio »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Load Localization files with web player
« Reply #1 on: April 10, 2014, 07:43:28 AM »
Sure. ByteReader class that comes with NGUI is able to parse your localization files into a dictionary that can then be fed to Localization.Set.