etn-ccis / blui-react-native-workflows

Re-usable Brightlayer UI workflows for React Native applications
6 stars 6 forks source link

update i18n instance #438

Closed ArshdeepSingh3-eaton closed 3 weeks ago

ArshdeepSingh3-eaton commented 1 month ago

Fixes # . updated to code to support system default language if available updated the code to save user language preference

Changes proposed in this Pull Request:

-

-

Screenshots / Screen Recording (if applicable)

-

To Test:

-

Any specific feedback you are looking for?

-

JeffGreiner-eaton commented 1 month ago

I set the iPhone language and loaded app. Home page title is translated

image image

User menu has Spanish set as default (I did not change this it was set by language preference found on device)

image

User menu has Chinese set as default (I did not change this it was set by language preference found on device)

image

Android results the same

image image

Should anything else be translated within other examples or registration workflow?

JeffGreiner-eaton commented 1 month ago

Should anything else be translated within other example screens/ registration workflow?

ArshdeepSingh3-eaton commented 4 weeks ago

the full screens are getting translated the change was to persist the language selection