When I call setlocale(LC_ALL, "ar_SA"), it returns "C". Even I'm expecting it returns "ar_SA". If setlocale(LC_ALL, "ar_SA") is successful, it'll return "ar_SA".
I found the reason. There is no "ar_SA" locale directory in /usr/share/locale of my Mac OSX system.
I'm using gettext function. I should change the locale to "ar_SA".
- How can I install "ar_SA" locale directory into my Mac?
- Does Mac system in arabic country include arabic locale directory like /usr/share/locale/ar_*?
- Is there any work around?
Thank you.