10-03-2013 03:47 AM
I have a listview which parse a xml and show its contents. for my localiztion, i have a xml for each and every language. so problem is that when i am using arabic xml then the listview is showing is showing its text from left to right but it has to be right to left in listview and another problem is, when clicking the any item of item it open page and the label of textof opened page is also from left to right but i want to be in right to left .
any suggestion would be appreciated.
thanks a lot,
10-03-2013 05:12 AM
If you are targetting a minimum of OS 10.2 then you can use the CustomListItem and add your own UI controls including labels that are right to left. If you want to target earlier you can do the same thing but instead of CustomListItem you would just use Container.
The downside of the second option is that you would have to implement the animation of highlighting and selection (i.e. the blue bits) yourself.
As for sliding in from right to left (of pages) I'm unsure of whether you can override the implicit animation (last time I looked you could not), so again you would have to handle this yourself through animations...
In my opinion though writing a whole Container slide and stack CustomControl just to switch the direction would be a lot of work for not much benefit and if I were you I would enter a JIRA ticket to add this feature to a future OS where it could be implemented a lot easier.
10-03-2013 05:30 AM
actually i targetting the OS 10.0.9.1673.
and actually i make my app to support servel languages like German,Russian,Spanish,Chinese,Italian and Arabic etc.
all language support from left to right but Arabic langugage is support right to left.
So when i parse my XML and display in listView, then all language are shows correctly but Arabic also display from Lefi to right.
So i just to know ,Is it possible to do when user set it langugage Arabic then all Strings should display from right to left.
which are in xml and also String from *_ar.ts file.
10-03-2013 05:36 AM
10-03-2013 05:38 AM
For how to implement it at the basic level, read this...
10-07-2013 08:38 AM - edited 10-07-2013 08:47 AM
Hi ankursahu19, for a webcast that touches upon the topic of internationalization, please visit the following link at timestamp 40:45: https://cgs.adobeconnect.com/_a829239487/p3qdsn8q5