ChangeLanguageExample icon indicating copy to clipboard operation
ChangeLanguageExample copied to clipboard

lang not changing in other Acitivities

Open suvamjain opened this issue 7 years ago • 1 comments

This method is changing the language only in that activity where attachBaseContext is called. In other activities lang remains the default one

suvamjain avatar Jun 01 '18 11:06 suvamjain

Hi @suvamjain,

Yes that's correct but this is not a bug it is how the system works.

To overcame this you need to define a BaseActivity class and then override attachbasecontext. I know it is not a pleasant solution but this is how the android system works.

gunhansancar avatar Jun 01 '18 11:06 gunhansancar