> Here we are getting device language and setting as app language if the device language is other than English or Hindi, the app language will be English.
Add translation to the components. Below is an Example :
{t("dummyText")}
> Now Change the Device Language and Check, according to the device language, here the text content of “dummyText” will change.
> To use localization, we can also keep an option inside app to change the app language according to the available translations.