mlkit icon indicating copy to clipboard operation
mlkit copied to clipboard

[Feature request] Add a parameter to specify the locale of Document Scanner library

Open bkhezry opened this issue 11 months ago • 2 comments

Enhance GmsDocumentScannerOptions with a parameter to specify the scanner activity's locale, allowing users to display scanner activity texts in a preferred language.

bkhezry avatar Feb 27 '24 02:02 bkhezry

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 avatar Mar 18 '24 18:03 ai-plays

@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.

bkhezry avatar Mar 30 '24 17:03 bkhezry