Skip to content

Fixes #34583: Restore the Users and Admin page link in 13 locales - #35494

Open
theluckystrike wants to merge 1 commit into
open-metadata:mainfrom
theluckystrike:fix/i18n-user-admin-links
Open

theluckystrike wants to merge 1 commit into
open-metadata:mainfrom
theluckystrike:fix/i18n-user-admin-links

Conversation

@theluckystrike

Copy link
Copy Markdown

Describe your changes:

Fixes #34583

Follow up to #34584. I restored the second sentence with the <0> link to the Users or Admin page in 52 translated UI strings across 13 locales, because these translations stopped after the first sentence ("No users found with name ...") and dropped the link that en-us renders through the <0> Trans tag. The keys are message.no-user-available-with-name, message.no-user-available-with-filters, message.no-admin-available-with-name and message.no-admin-available-with-filters. Each value keeps the existing first sentence and adds a translation of the current en-us second sentence, with {{searchText}} and <0></0> exactly as in en-us. The other 7 locales (ar-sa, ko-kr, pt-pt, sv-se, tr-tr, zh-tw and en-us) already have the link and are unchanged.

This also covers the de-de part that @HalmSascha offered to leave with us on #34584, plus one more de-de fix: message.activity-on-assets-owned-by-you-or-your-teams_one had lost {{count}}, while the _other form and en-us both use it.

Only the values change. Keys, key order and file formatting are byte identical. None of these keys is changed by #34584, and none sits on a line next to one it changes, so the two PRs merge in either order without conflicts.

Locale Strings fixed
de-de 5
es-es 4
fr-fr 4
gl-es 4
he-he 4
ja-jp 4
mr-in 4
nl-nl 4
pr-pr 4
pt-br 4
ru-ru 4
th-th 4
zh-cn 4
Total 53

How I checked them. A small script parses every file in locale/languages, flattens the keys and diffs each value against main. For every value that changed it compares the set of {{placeholders}} and <N> / </N> Trans tags with the en-us value for the same key, and it fails if the key set or key order of any file changed. Result: 20 files parsed, 53 changed values, 0 mismatches. A second pass over all 20 locales confirms the four keys now carry the same tags as en-us everywhere.

Type of change:

  • Bug fix

High-level design:

N/A, small change limited to locale values.

Tests:

Use cases covered

  • Settings > Members > Users in one of the 13 locales: a search or filter with no match shows the link to the Admins page again, as in en-us (UserListPageV1.tsx renders <0> as a Link through Transi18next).
  • Settings > Members > Admins: a search or filter with no match shows the link to the Users page again.
  • The de-de activity summary for a one day window shows the day count.

Unit tests

  • Not applicable (locale values only).

Backend integration tests

  • Not applicable (no backend API changes).

Ingestion integration tests

  • Not applicable (no ingestion changes).

Playwright (UI) tests

  • Not applicable (no UI code changes).

Manual testing performed

  1. Ran sync-i18n --files '**/locale/languages/*.json' --primary en-us --space 2 --fn --check (the check-i18n script, i18next-json-sync 3.1.2) on main and on this branch. Both exit 0.
  2. Ran the placeholder and Trans tag comparison described above. 0 mismatches.
  3. Parsed every locale file with a JSON parser.

UI screen recording:

Not applicable, localization values only.

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.
  • For a UI feature or feature task: as part of PR creation, I ran the PR build in Docker with sample data and embedded a verified GitHub-hosted recording plus build/health evidence above (or explained why this requirement is not applicable).
  • I have added tests (unit / integration / Playwright as applicable) and listed them above.
  • Decision check: if this PR decides something the next contributor could undo, it adds a record under docs/decisions/.

…3 locales

The no-user/no-admin empty state messages in 13 locales dropped the second
sentence with the <0> link to the Users or Admin page. Restore it from the
current en-us text. Also restore {{count}} in de-de
message.activity-on-assets-owned-by-you-or-your-teams_one.
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@github-actions

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@gitar-bot

gitar-bot Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · Restoring translated Users/Admin links changes empty-state navigation; a mismatched localized link could send users to the wrong page.

Restores the second sentence with the <0> link to the Users or Admin page in 4 message.no-*-available-* keys across 13 locale files, plus the missing {{count}} placeholder in the de-de message.activity-on-assets-owned-by-you-or-your-teams_one key. Only translated values change; keys and file formatting are untouched. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI translations drop or rename i18next placeholders in 18 locales

1 participant