Use translations for static content

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.10.0-alpha5, 3.10.0
    • Affects Version/s: None
    • Component/s: backend
    • 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

            Assignee:
            Unassigned
            Reporter:
            Michal Konopski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: