Author Topic: Localization between left to right and Right to Left Languages  (Read 3304 times)

rwhitten

  • Guest
Localization between left to right and Right to Left Languages
« on: October 13, 2013, 12:07:47 PM »
I'm trying to release a demo this week for an overseas customer and we have been using a dynamic font that supports English and Arabic characters.  All of our text is translated and setup in the localization files but I just noticed that the Arabic translation is getting flipped when we switch.  Is there support to handle switching from a left to right language and right to left language?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Localization between left to right and Right to Left Languages
« Reply #1 on: October 13, 2013, 09:15:43 PM »
NGUI has no special support for RTL languages. You'd have to flip the text yourself.

rwhitten

  • Guest
Re: Localization between left to right and Right to Left Languages
« Reply #2 on: October 14, 2013, 11:29:15 PM »
Any idea why the text would be flipping on it's own?  We have it written in the text files correctly and the encoding it set to UTF-8.  When I put a line of Arabic and English mixed together like this سمعيSoundLabelصوت.  The first Arabic word is flipped the "soundLabel" text is fine and the last Arabic word is flipped.  I can't tell what it is going on but I thought it was something with the encoding, any Ideas what it might be?