larryaasen / upgrader

A Flutter package for prompting users to upgrade when there is a newer version of the app in the store.
MIT License
531 stars 262 forks source link

languageCode doesnt override the default one #314

Open YaserClaro opened 1 year ago

YaserClaro commented 1 year ago

Hello im trying to use languageCode to override my device language, for example my mobile has English language as a default language, when i change my languageCode to 'ar' , it doesnt work, still messages are in English not arabic

hoangnk121 commented 1 year ago

I also had the same situation, the release note language is out of sync with the reminder titles above on iOs. Hoping for any solution or suggestion, thanks!

YaserH25 commented 1 year ago

I also had the same situation, the release note language is out of sync with the reminder titles above �on iOs. Hoping for any solution or suggestion, thanks!

You can use this one Upgrader( dialogStyle: UpgradeDialogStyle.material, appcastConfig: cfg, debugLogging: true, messages: UpgraderMessages( code: 'your languageCode', ),

larryaasen commented 8 months ago

@YaserClaro @hoangnk121 The languageCode parameter is used only for Android at this time. Looks like this should be used for iOS as well.

Add00w commented 8 months ago

Hello @larryaasen , I fixed this issue please see my pr thanks.