0.0.0 • Published 7 years ago
isomorphic-language v0.0.0
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;
0.0.0
7 years ago