按照官方文档的说明操作,为什么打包出来的app的应用名字仍然是%app.name%.
是什么地方需要配置吗?有没有详细点的说明
- 发布:2022-07-18 22:22
- 更新:2025-01-09 11:21
- 阅读:972
uni-app manifest.json国际化问题
Chalead - Chalead
↓↓↓ 如下配置即可
"name": "默认名字xxx",
"app-plus": {
"allowsInlineMediaPlayback": true,
"compatible": {
"ignoreVersion": true //true表示忽略版本检查提示框
},
"optimization": {
//可选,JSON对象,分包配置
"subPackages": true
},
"usingComponents": true,
"nvueStyleCompiler": "uni-app",
"compilerVersion": 3,
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
},
"modules": {},
"locales": {
"en": {
"name": "JTRWeb Validation",
"android": {
"strings": {
"NSPhotoLibraryUsageDescription": "“en Orangemarket“ Your consent is required to access your photo album for easy access to product information.",
}
},
"ios": {
"privacyDescription": {
"NSPhotoLibraryUsageDescription": "en ios “Orangemarket“ Your consent is required to access your photo album for easy access to product information.",
}
}
},
"zh": {
"name": "橙示",
"android": {
"strings": {
"NSPhotoLibraryUsageDescription": "“橙示“需要您的同意,才能访问您的相册,以便于获取商品信息。",
}
},
"ios": {
"privacyDescription": {
"NSPhotoLibraryUsageDescription": "“橙示“需要您的同意,才能访问您的相册,以便于获取商品信息。",
}
}
},
"ja": {
"name": "ja橙示",
"android": {
"strings": {
"NSPhotoLibraryUsageDescription": "“ja橙示“需要您的同意,才能访问您的相册,以便于获取商品信息。",
}
},
"ios": {
"privacyDescription": {
"NSPhotoLibraryUsageDescription": "ja ios“橙示“需要您的同意,才能访问您的相册,以便于获取商品信息。",
}
}
},
"ko": {
"name": "ko橙示",
"android": {
"strings": {
"NSPhotoLibraryUsageDescription": "ko“橙示“需要您的同意,才能访问您的相册,以便于获取商品信息。",
}
},
"ios": {
"privacyDescription": {
"NSPhotoLibraryUsageDescription": "ko ios“橙示“需要您的同意,才能访问您的相册,以便于获取商品信息。",
}
}
}
},
// SDK配置
"nativePlugins": {
}
}
。。。