Author Topic: Localization: commas and several files  (Read 2159 times)

Tatanan

  • Jr. Member
  • **
  • Thank You
  • -Given: 11
  • -Receive: 0
  • Posts: 81
    • View Profile
    • Casual Arena
Localization: commas and several files
« on: December 29, 2014, 10:05:06 AM »
Hello.
2 doubts:
  • When you generate the csv file that NGUI use for handling translations, I see the different fields are separated by commas. May I then include commas in my texts? If so, how?
  • May I use several Localization.csv files? I've tried but NGUI only reads one of them.
Thank you.
Game developer on Casual Arena.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Localization: commas and several files
« Reply #1 on: December 30, 2014, 02:01:20 PM »
1. Yes, wrap your text in quotes like so: "Hello, world!"
2. No. Only one.

Tatanan

  • Jr. Member
  • **
  • Thank You
  • -Given: 11
  • -Receive: 0
  • Posts: 81
    • View Profile
    • Casual Arena
Re: Localization: commas and several files
« Reply #2 on: December 31, 2014, 07:48:31 AM »
Thank you.
And for using quotes? Something like \" or just avoiding using quotes?

If I require several files translations files, I guess I should generate a single final cvs file with all the translations, right?
Game developer on Casual Arena.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Localization: commas and several files
« Reply #3 on: December 31, 2014, 04:01:01 PM »
Yes, single file with all text data inside.

As for quotes, check to see how google docs or Excel exports them.