-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
Not defined
Context:
Currently some text that is returned from the BE and displayed in optimize is hardcoded in english but it has to use translations.
AT:
- use X-Optimize-Client-Locale header to get the client locale code for translations
- if the code is unknown/invalid/missing fall back to English
- do the translations for management dashboard and instant preview dashboards
- write unit tests to check the translation files
Testing Notes:
The following endpoints should return localised entity names:
api/dashboard/management
api/report/{reportId}/evaluate
api/dashboard/instant
api/entities/names