isomorphic-language
v0.0.0
Published
Get the local language isomorphically
Downloads
25
Readme
isomorphic-language
Get the local language isomorphically.
Usage
const getLanguage = require('isomorphic-language');
const localLanguage = getLanguage()
Explanation
Node
Thank os-locale
Browser
navigator.language || navigator.userLanguage || navigator.browserLanguage || navigator.systemLanguage;