-
Bug
-
Resolution: Unresolved
-
Normal
-
1.10.0
-
False
-
-
False
-
-
Description of problem:
**
The Bulk Import plugin’s German (de) and Spanish (es) locale files are missing translation keys that exist in the reference (ref) and in other locales (fr, it, ja). The app falls back to English for these keys. E2E tests use getTranslations(locale), which only reads the locale file (no ref fallback), so those keys are undefined in de/es and cause test failures.
Impact
- UI: Mixed language in de/es (e.g. “GitHub”, “Preview”, “PR” in English next to translated text).
- E2E: The following tests fail in de and es and are currently skipped with a comment to re-enable after this bug is fixed:
- should render bulk import page with source control options, search, and repositories table — expected snapshot contains undefined for the GitHub radio label (missing addRepositories.approvalTool.github).
- Verify preview sidebar — expected snapshot contains undefined pull-anforderung for the heading (missing previewFile.preview).
- Verify Import flow — TypeError: Cannot read properties of undefined (reading 'pr') (missing repositories.pr; entire repositories section absent in de/es).
Missing keys in both de and es
| Key | Ref value (English) |
|---|---|
| addRepositories.approvalTool.github | GitHub |
| previewFile.preview | Preview |
| repositories.pr | PR |
Files to update
workspaces/bulk-import/plugins/bulk-import/src/translations/de.ts
workspaces/bulk-import/plugins/bulk-import/src/translations/es.ts
Reference
Use plugins/bulk-import/src/translations/ref.ts and fr.ts / it.ts / ja.ts for key names and values when adding the missing entries.
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):
- is related to
-
RHIDP-12537 [e2e] Update e2e tests to support German and spanish locale in rhdh-plugins repo
-
- Review
-