[BUG] [Java Service]Get 520 when requesting zh-Hant-alt-long language's display name with API /i18n/api/v2/locale/supportedLanguageList.
@huihuiw01 is already working on this.
Since Nov 17, 2021.
- Dominant language
- Java
- Stars
- 72
- Forks
- 69
- Avg merge
- 23h 32m
- Merged PRs (30d)
- 4
Description
Describe the bug
commit: c7afc3bee93563af3c7073adfdd5cbd9b584ca0e
Get 520 when requesting zh-Hant-alt-long language's display name with API /i18n/api/v2/locale/supportedLanguageList.
To Reproduce
Steps to reproduce the behavior:
- Put a json file with name: messages_zh-Hant-alt-long.json in VMwareVIPLocale&1.0.0 bundles.
- Request its displayname with "http://serviceip:8091/i18n/api/v2/locale/supportedLanguageList?displayLanguage=en&productName=VMwareVIPLocale&version=1.0.0"
Get response below:
{"response":{"code":520,"message":"11","serverTime":""},"signature":"","data":null}
Expected behavior
zh-Hant-alt-long is in languages.json file.
"zh-Hant-alt-long": "Traditional Mandarin Chinese"
Additional context
Same behavior with other similar locale:
"zh-alt-long": "Mandarin Chinese",
"zh-alt-menu": "Chinese, Mandarin",
"yue-alt-menu": "Chinese, Cantonese"...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.