Describe the bug
commit: 3ca3861
localeID is empty when requesting language goes with region and combinational locale is valid on language/region pattern api.
GET /i18n/api/v1/i18nPattern
GET /i18n/api/v2/formatting/patterns/locales/{locale}
To Reproduce
Steps to reproduce the behavior:
- Go to 'GET /i18n/api/v2/formatting/patterns'
- Input "en-US" as language, "US" as region and "plurals" as pattern.
- See the response:
{
"response": {
"code": 200,
"message": "OK",
"serverTime": ""
},
"signature": "",
"data": {
"localeID": "",
"language": "en-US",
"region": "us",
"categories":
...
}
}
Expected behavior
the combinational locale should be listed as localeID value: en-US
{
"response": {
"code": 200,
"message": "OK",
"serverTime": ""
},
"signature": "",
"data": {
"localeID": "en-US",
"language": "en-US",
"region": "us",
"categories":
...
}
}
Describe the bug
commit: 3ca3861
localeID is empty when requesting language goes with region and combinational locale is valid on language/region pattern api.
GET /i18n/api/v1/i18nPattern
GET /i18n/api/v2/formatting/patterns/locales/{locale}
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the combinational locale should be listed as localeID value: en-US