r***@126.com
r***@126.com
  • 发布:2022-07-18 22:22
  • 更新:2025-01-09 11:21
  • 阅读:972

uni-app manifest.json国际化问题

分类:uni-app

按照官方文档的说明操作,为什么打包出来的app的应用名字仍然是%app.name%.
是什么地方需要配置吗?有没有详细点的说明

2022-07-18 22:22 负责人:无 分享
已邀请:
DCloud_uni-ad_HDX

DCloud_uni-ad_HDX

提供项目 manifest.json 中 appid 我们排查下

m***@gmail.com

m***@gmail.com

兄弟这个问题解决了吗,怎么解决的?

5***@qq.com

5***@qq.com

您好 请问这个问题您解决了么

8***@qq.com

8***@qq.com

你好,请问这个问题解决了吗

少点BUG

少点BUG

蹲一个解决方案

9***@qq.com

9***@qq.com

实测是个bug,按照文档设置也没用,https://uniapp.dcloud.net.cn/tutorial/i18n.html#

Chalead

Chalead - Chalead

似乎至今为止还木有解决呢

Chalead

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": {
}
}

。。。

要回复问题请先登录注册