01-10-2014 03:19 AM
At first glance I don't see any way of doing this. I'll check further and report back though.
01-10-2014 03:50 AM
Confirmed: this is not currently possible. I've submitted a change request though to see if we can open up this property.
01-10-2014 04:49 AM
Of course if you don't want to wait it would be easy enough to make your own one, with or without the animation.
What's the reason for wanting to change it BTW as you will lose the translation for users in different locales, unless you explicitly check for it?
01-10-2014 04:52 AM
Interestingly I wondered if you could "abuse" the localization system to make the text change but couldn't get that to work.
You wouldn't lose the translation with your own custom control. You'd add translations to your .ts file referencing the text values in your qml file. So I think that aspect would be OK.
01-10-2014 05:01 AM - edited 01-10-2014 05:15 AM
@mwoolley How many developers cover as many languages in their apps as BlackBerry do?
In the end it would be a weigh up between how important it is that the words are different versus how important it is that multiple locales understand its meaning.
Personally if there is a label associated with the toggle I would change the question.
Choose your temperature: C/F
Use Centigrade: On/OFF
Or use a DropDown instead.
@greenback, What are the words you want to change to?
01-10-2014 05:03 AM
It was a valid point.
You wouldn't need to include every conceivable language in your translation file, just those you want to.
01-12-2014 05:43 AM
01-13-2014 02:45 PM
This is where the Image Toggle Button comes into play.
So something like this: