Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2793

Extensions: Add missing German (de) and Spanish (es) translation section “badges” used in e2e tests

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Moderate

      Description of problem:

      The Extensions plugin’s German (de) and Spanish (es) locale files are missing the entire badges translation section that exists in the reference (ref) and in fr, it, ja. The e2e tests use getTranslations(locale), which only reads the locale file (no ref fallback), so translations.badges is undefined in de/es and any access to e.g. translations.badges.generallyAvailable throws.

      Impact

      • UI: Labels/tooltips for support-type badges (Certified, Generally available, Custom plugin, Tech preview, Dev preview, Community plugin) can fall back to English or be missing in de/es.
      • E2E: Tests that use translations.badges fail in de and es (e.g. “Verify support type filters in extensions” and all badge-related tests). These are skipped with a comment to re-enable after this bug is fixed.

      Missing in both de and es

      The whole badges section. In ref it includes (use ref and fr/it/ja for exact keys and wording):

      Key Ref value (English)
      badges.certified Certified
      badges.certifiedBy Certified by {
      Unknown macro: {provider}

      }

      badges.verified Verified
      badges.verifiedBy Verified by {
      Unknown macro: {provider}

      }

      badges.customPlugin Custom plugin
      badges.stableAndSecured Stable and secured by {
      Unknown macro: {provider}

      }

      badges.generallyAvailable Generally available (GA)
      badges.gaAndSupportedBy Generally available (GA) and supported by {
      Unknown macro: {provider}

      }

      badges.gaAndSupported Generally available (GA) and supported
      badges.productionReadyBy Production-ready and supported by {
      Unknown macro: {provider}

      }

      badges.productionReady Production-ready and supported
      badges.communityPlugin Community plugin
      badges.openSourceNoSupport Open-source plugins, no official support
      badges.techPreview Tech preview (TP)
      badges.pluginInDevelopment Plugin still in development
      badges.devPreview Dev preview (DP)
      badges.earlyStageExperimental An early-stage, experimental plugin
      badges.addedByAdmin Plugins added by the administrator

       
      Files to update

      workspaces/extensions/plugins/extensions/src/translations/de.ts
      workspaces/extensions/plugins/extensions/src/translations/es.ts

      Reference

      plugins/extensions/src/translations/ref.ts and fr.ts / it.ts / ja.ts for the full badges structure and wording.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

       # <steps>

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              Unassigned Unassigned
              rh-ee-hushaik Husne Shabbir Shaik
              RHDH Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: