Reputation: 3728
I get string from sms message, there is any option to know what lang\local I need to select. I need it for checking if text to speech option is available.
thanks.
Upvotes: 0
Views: 66
Reputation: 39013
It can be easy or hard, depending on the languages. Finding if a string is Hebrew or English is very easy, the characters are all different. Finding if a string is English or French is harder, because you need to figure out if words are English or French. Finding if a string is in Spanish or Catalan can be impossible on a short string.
Upvotes: 2