添加en和zh

This commit is contained in:
PhatenIoT-yan
2025-05-14 15:25:41 +08:00
parent 8c5ea7b9fd
commit 3a5820f4e9
1870 changed files with 96185 additions and 251 deletions

22
en/material/index.html Normal file
View File

@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<script>
const lang = navigator.language;
var lang_l = localStorage.getItem("currLang");
var langzh = "zh-CN";
var test = location.href;
if (lang==langzh&&!lang_l){
location.href = test+"zh/"
}else{
location.href = test+"en/"
}
console.log("wwww:"+location.href);
</script>
<body>
</body>
</html>