Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Allow locale to be set by the developer #118

Open
alikareemraja opened this issue May 20, 2021 · 2 comments
Open

Allow locale to be set by the developer #118

alikareemraja opened this issue May 20, 2021 · 2 comments

Comments

@alikareemraja
Copy link

As of today the locale of the Apple Speech Recongizer is set by NSLocale.current as defined here:
https://github.com/spokestack/spokestack-ios/blob/68de84b03a0dd568e149f665e79457983d599957/Spokestack/AppleSpeechRecognizer.swift

This is restrictive without good reason. Allowing users to switch language within the app, regardless of the locale of the phone itself is a fairly common use case. Are there plans on the roadmap to fix this?

Thanks!

@noelweichbrodt
Copy link
Collaborator

Hi Ali, thanks for using Spokestack!

We don't have a switchable locale on the roadmap currently, but the idea seems reasonable. Could you suggest how you would prefer that API change to work? That would help us nail down a good design immediately rather than guessing at what might be most usable for people with your use case.

@alikareemraja
Copy link
Author

That's a good idea. I'll come up with a suggestion!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants