In-line language changes
In-line language changes
- Subject: In-line language changes
- From: Scott McCormack <email@hidden>
- Date: Tue, 04 Jun 2013 12:26:01 -0700
I am trying to figure out if there is an easy way to do in-line language identification for VoiceOver. I can set accessibilityLanguage for an element but as far as I can tell I can't take a portion of the text in say a UILabel and explicitly tell VO that this text is German or Spanish, etc. There are only 2 ways I've found that work but both are less than ideal.
1. Break the text down into separate elements and assign accessibilityLanguage to each element
2. Use a webView and load a URL with lang attributes set.
I thought maybe attributed strings would work but as best as I can find there are no attributes available for language.
An interesting (and undocumented as far as I know) feature VO exhibits is it attempts to guess language based upon (I think) the character set. So for example if I use korean characters VO will switch to a korean voice however this feature doesn't work too well as it doesn't switch amongst the roman character based languages at all, for cyrillic languages like Russian it switches to Russian and reads the first character then switches to a different voice and reads gibberish so I can't rely on VO detecting the language change by itself and I need some way of switching inline.
Thoughts?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden