first commit

This commit is contained in:
2026-09-08 20:28:54 +08:00
commit 2ada8d3d5a
37380 changed files with 4886169 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
const { format } = require('./lang')
const { osLocale } = require('os-locale-s-fix/cjs')
function getLocale () {
return format(process.env.UNI_HBUILDERX_LANGID || osLocale.sync({ spawn: true, cache: false }) || 'en')
}
module.exports = {
getLocale
}