📌  相关文章
📜  javascript 获取用户首选语言 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:56.638000             🧑  作者: Mango

代码示例1
//detect the language preference of the user's browser
var userLanguage = window.navigator.userLanguage || window.navigator.language;