-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Labels
Milestone
Description
Describe the bug
Version fallback feature is added for related translation APIs, this feature mean: when the product upgrade to a newer release, and the translation is not ready for the newer release, Singleton Service will return the translation of previous version as fallback.
But now, the language list if product get from Singleton Service still is null.
To Reproduce
Steps to reproduce the behavior:
- Start the Singleton Service build
- Go to API: GET /i18n/api/v2/locale/supportedLanguageList Get the supported language list
- The Testing data:
Testing/1.0.0
When try to get translation for Testing/2.0.0, it can return well, but for language list, it will return 404 error as below:
{
"response": {
"code": 404,
"message": "Failed to get locale list for Testing/2.0.0",
"serverTime": ""
},
"signature": "",
"data": ""
}
Expected behavior
If the translation can be returned well, then the language list should also be returned well.
Screenshots
NA
Desktop (please complete the following information):
NA
Additional context
NA