Search code examples
iosswiftxcodelocalizationarabic

App localization in Arabic string reverses


This is symbol of oman's currency ".ر.ع" . I have added this in my strings file.

The issue is when I use

NSLocalizedString("oman", comment: "")

The symbol returned is reversed like this "ر.ع." .

I tried other arabic strings and they all work fine. But only this doesn't.

Anyone faced similar issue before?


Solution

  • Turns out it's the issue with this symbol. I had to use the symbol as "ر.ع." and when read from file it returned the correct ".ر.ع"