Easy_localization: Version 1.4.1 locale only return 'en'

Created on 6 Mar 2020  路  4Comments  路  Source: aissat/easy_localization

hi

version 1.4.1

locale only return 'en'

but, 1.4.0 is ok

my code

釀夅叧釀忈叧釀呩叺釂剦釁a喓 2020-03-06 釀嬦叐釀掅叜 3 25 48

釀夅叧釀忈叧釀呩叺釂剦釁a喓 2020-03-06 釀嬦叐釀掅叜 3 22 12

=> only return 'en', Phone lang is 'ko'

same issue link :
https://github.com/flutter/flutter/issues/14128#issuecomment-578092739

Most helpful comment

Thanks
@gjrjf @carlos-labrador @Jbz797
I'm working to fix this, preparing to release version 2.0.0

All 4 comments

I got same problem.

Same here

Thanks
@gjrjf @carlos-labrador @Jbz797
I'm working to fix this, preparing to release version 2.0.0

try the new version
now can get selected locale by:

log(Intl.defaultLocale);
//or 
log(EasyLocalization.of(context).locale.toString());
Was this page helpful?
0 / 5 - 0 ratings