Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Arabic language and formatted string

$
0
0

I have a problem with formatted string in arabic and titanium.

Currently i have a dictionary which contains the string used in the app, something like this:

var myDictionary = {mystring: 'hello %s'};

then the string is formatted with String.format and displayed in a label.

Now the problem is that i cannot insert %s in an arabic string, because from RTL became LTR

Arabic string without %s

?? ???? ?????? ??? ????? ???????

Arabic string with %s

?? ???? ?????? %s ??? ????? ???????

i've read about inserting special character but i had not success in that. How can i create a formatted string for the arabic language?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>