wit-ai / wit-ios

Wit.ai iOS client
Other
222 stars 71 forks source link

Update WITSFSpeechRecordingSession.m #83

Closed chavira closed 7 years ago

chavira commented 7 years ago

Get the localization for the current settings of the phone.

hactar commented 7 years ago

Thanks for the pull request. Nice idea of using CFBundleDevelopmentRegion to determine the locale. Unfortunately its too restrictive, multilingual apps need to be able to switch the region.

But the 4.2.1 release has fixed the hardcoded region. Check out the speechRecognitionLocale property.