mlkit
mlkit copied to clipboard
[Feature request] Add a parameter to specify the locale of Document Scanner library
Enhance GmsDocumentScannerOptions with a parameter to specify the scanner activity's locale, allowing users to display scanner activity texts in a preferred language.
Currently, the strings in UI is based on the Android System Language Setting. Do you want to use a different language from System setting? Could you explain a bit more why you need this so we understand your use case better?
@ai-plays Imagine an app with multiple languages. If you change the language of the app, this language change will not be reported to the document scanning library and will be displayed with the default language of Android system. For support multiple language's app, the library should get a config for specify the locale of the app.