25 Sep 2012 1:03 AM #1
Answered: Sliderfield Language
I'm trying to make an app that works in several countries and hence needs to run in several languages.
For the sake of this question assume the app has to run in English (the original ST2 language) and Chinese (an entirely different language).
I've managed to change labels, stores, titlebars, buttons and more. The textfield input is not a problem since the user will use the "Chinese Keyboard" from Apple on iOS.
But how do I change the language of the sliderfield input ??? As of now it shows the English 1,2,3...99,100,… when sliding. But I need it to be in Chinese numerals.
Any solution ?
The user never sees the number out of the box so if you are displaying it some way then you would have to translate it into the numeral you need.
27 Sep 2012 5:42 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
The user never sees the number out of the box so if you are displaying it some way then you would have to translate it into the numeral you need.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
28 Sep 2012 12:20 AM #3
Thanks. I forsee a very difficult future As of now I'm taking the sliderfield.getValue() to get the number its at. Im guessing now i'll have to translate that into another language. Ouch.