[Help] Need to write in hebrew

is unity support RTL?

אני חושב שהיית צריך להמיר את הטקסט לשפה הנכונה הראשונה.

לאחר מכן, באמצעות אחדות, ליישר שדה UI.Text ימינה.

it does not support right to left languages.
however, the fix is very simple, you dont even need it to support these languages,
just create a static functions, that gets fed with a string, and let it spit out another string, and what you do is simply, reverse the order of each character in the string (think of the string like an array of characters).
that will be the simplest thing, and every time, before you use a string, just simply apply your hand made function and thats basically about all of it.

There’s also at least one converter in the Asset Store, though it’s relatively pricey for a beginner and aimed at Unity v5.x. There’s lots of references to text-flipping scripts out there too, so as @MoMutrz said, that’s probably the better route in the long run, unless Raymon’s converter is especially impressive. (Plus that way you’ve made your own tool, which is always a great thing!)

HI MoMutrz,
thank you for the replay, but this function is no the best solution because that if the string contains also numbers or English letters it’s a problem.

Privacy & Terms