• Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.10.0-alpha5, 3.10.0
    • None
    • 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

        This is the controller panel for Smart Panels app

            [OPT-6751] Use translations for static content

            Michal Konopski created issue -
            Michal Konopski made changes -
            Link New: This issue is related to OPT-6522 [ OPT-6522 ]
            Michal Konopski made changes -
            Status Original: Triage [ 10612 ] New: Ready [ 10005 ]
            Michal Konopski made changes -
            Assignee New: Helene Waechtler [ helene.waechtler ]
            Michal Konopski made changes -
            Description Original: 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
             * use the translations for *management dashboard* and *instant preview dashboards*
             * write unit tests to check the translation files
            New: 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
            Helene Waechtler made changes -
            Status Original: Ready [ 10005 ] New: In Development [ 10312 ]
            Helene Waechtler made changes -
            Description Original: 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
            New: *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}}
            Michal Konopski made changes -
            Link New: This issue is related to OPT-6776 [ OPT-6776 ]
            Helene Waechtler made changes -
            Assignee Original: Helene Waechtler [ helene.waechtler ] New: Giuliano Rodrigues Lima [ giuliano.rodrigues-lima ]
            Status Original: In Development [ 10312 ] New: In Review [ 10212 ]
            Giuliano Rodrigues Lima made changes -
            Assignee Original: Giuliano Rodrigues Lima [ giuliano.rodrigues-lima ] New: Helene Waechtler [ helene.waechtler ]
            Status Original: In Review [ 10212 ] New: Rework [ 11413 ]
            Giuliano Rodrigues Lima made changes -
            Assignee Original: Helene Waechtler [ helene.waechtler ] New: Andromachi Rozaki [ andromachi.rozaki ]

              Unassigned Unassigned
              michal.konopski Michal Konopski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: