BlinkReceipt / blinkreceipt-android

MIT License
49 stars 16 forks source link

Localization support in Blink Receipt Camera UI #67

Closed vtn-dev-manish closed 10 months ago

vtn-dev-manish commented 10 months ago

Can we have the strings in the Blink receipt camera UI to have localization support.

pequots34 commented 10 months ago

Localization support meaning you want us to provide the different languages or there is hard coded strings that you are not able to override via aapt ?

vtn-dev-manish commented 10 months ago

Hi @pequots34 for localization support we simply need some exposed string constants that are used in the sdk ui and toast messages which we can assign values at runtime based on our strings object containing strings values for a given country

pequots34 commented 10 months ago

@vtn-dev-manish, we resource those strings so you can use aapt to override and localize those strings via resources. if the content is set via your server, we currently don't expose a way to update the UI programmatically

vtn-dev-manish commented 9 months ago

Hi @pequots34, I think we can simply override those strings in our app and the android runtime will give the priority to project strings over the library strings.

Also can you suggest how we can achieve the same in IOS.

pequots34 commented 9 months ago

Hi @vtn-dev-manish please ask your iOS question here: https://github.com/BlinkReceipt/blinkreceipt-ios