Sign in
Log inSign up

Where to save language info?

Hazem Hussein's photo
Hazem Hussein
·Sep 7, 2018

I have multilanguage app. I have developed strings object to manage the localization. In this object there is a getter function that must access the the current selected language of the app to get the correct word.

Problem that i dont know where to save this info. I have reducer that hold system language but i can not acess the state in non react component.