Skip to content

A small piece of code used for getting device language on React Native.

License

Notifications You must be signed in to change notification settings

orkundurmaz/rn-getDeviceLanguage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

rn-getDeviceLanguage

A small piece of code used for getting device language on React Native.

It would get the language of the device and check whether it is in the supported languages of your application by checking it in the constants. Upon finding it, it would set the language of the application as the device language, otherwise it would set it to English.

On fail of getting the device language, it would set the language to English as a last resort.

About

A small piece of code used for getting device language on React Native.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published