singleton
singleton copied to clipboard
[BUG] [Java Service]"English (Unknown Script)" is shown as displayName for Language-NumberTypeRegion format's locale "en-001".
Describe the bug commit: c7afc3bee93563af3c7073adfdd5cbd9b584ca0e "English (Unknown Script)" is shown as displayName when locale is "en-001". Similar behavior on below locale: language-territory(number format) and locale isn't in languages.json file. example: en-150
To Reproduce Steps to reproduce the behavior:
- Put a json file with name: messages_en-001.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"
{
"languageTag": "en-001",
"displayName": "English (Unknown Script)",
"displayName_sentenceBeginning": "English (Unknown Script)",
"displayName_uiListOrMenu": "English (Unknown Script)",
"displayName_standalone": "English (Unknown Script)"
},
Expected behavior "English (World)" should be the displayName of "en-001". "World" is from https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json