Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-3162

Implement check for the new i18n annotation for dynamic plugins

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • HAC Infra - Sprint 220

      In the 4.11 release, a console.openshift.io/default-i18next-namespace annotation is being introduced. The annotation indicates whether the ConsolePlugin contains localization resources. If the annotation is set to "true", the localization resources from the i18n namespace named after the dynamic plugin (e.g. plugin__kubevirt), are loaded. If the annotation is set to any other value or is missing on the ConsolePlugin resource, localization resources are not loaded. 

       

      In case these resources are not present in the dynamic plugin, the initial console load will be slowed down. For more info check BZ#2015654

       

      AC:

      • console-operator should be checking for the new console.openshift.io/use-i18n annotation, update the console-config.yaml accordingly and redeploy the console server
      • console server should pick up the changes in the console-config.yaml and only load the i18n namespace that are available

       

      Follow up of https://issues.redhat.com/browse/CONSOLE-3159

       

       

              jhadvig@redhat.com Jakub Hadvig
              jhadvig@redhat.com Jakub Hadvig
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: