Repository navigation
Translate the settings pages: roles, administration, license, single sign-on (DE, IT) - #1333
Merged
Merged
Conversation
…sign-on (DE, IT) Second of three settings PRs for HelpCode-ai#1271: /settings/roles, /settings/admin, /settings/license (and activate) and /settings/identity-providers with recovery codes, role mappings and SCIM, in German and Italian. New namespaces settingsRoles, settingsAdmin, settingsLicense and settingsSso. The SMTP, alert webhook, footer and version messages on the administration page get an explicit error flag instead of matching the English "Error"/"Copy failed" text.
15 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sixth area of #1271, second of three PRs: the Roles, Administration, License and Single sign-on settings pages in German and Italian. It follows #1332 (sidebar, Profile, Connections, Organization, Users). No behaviour changes, and
Accept-Language: en-USrenders exactly what it rendered before.Changes
app/settings/roles/page.tsx:app/settings/admin/page.tsx:app/settings/license/page.tsx:app/settings/license/activate/page.tsx: the activation page and its messages.app/settings/identity-providers/page.tsx: the single sign-on card, the provider form (the per-type hints and fields, role sync, fallback, default roles), the provider list, the toasts and confirm dialogs, and the Cloud notice.identity-providers/recovery-codes.tsx,role-mappings.tsx,scim-panel.tsx: recovery codes, group and app role mappings, and SCIM provisioning with its Entra setup steps.smtpMsg.startsWith('Error')(and the same for alerts and footer links) andversionMsg === 'Copy failed'. It now uses a separate error flag for each, as in Translate the connector tools and tool editor (DE, IT) #1326 and Translate the settings pages: profile, connections, organization, users (DE, IT) #1332.ton the Roles page becamex/list, and the provider type map no longer holds English labels: they come fromsettingsSso.types.messages/{en,de,it}.json: new namespacessettingsRoles(47 keys),settingsAdmin(62),settingsLicense(68, includingactivate) andsettingsSso(189, includingrecovery,mappingsandscim).it.json,signUp.socialConsentandsignUp.acceptTermsCloudhadl'<privacy>. In ICU an apostrophe before<starts a quoted literal, so Italian users saw the textl<privacy>Informativa sulla privacy</privacy>with no link. Both now use the typographic apostrophel’, which isn't an escape, so the link renders. The new Italian strings in this PR do the same.Left in English on purpose:
EditionCard,EnterpriseNotice(including the title and body the Single sign-on page passes to it) and the billing summary fromlib/billing-summary, withTrialLimitNotice, as in Translate the settings pages: profile, connections, organization, users (DE, IT) #1332.X-AnythingMCP-Signature, the role namesADMIN/EDITOR/VIEWERin the role table, and the "No access (SSO)" role the server creates.Self-hosted vs Cloud: frontend only, with no backend, database or
ee/change.Translations
German and Italian aren't my native languages, so please review those strings. I kept the tone and terms from the earlier PRs: German with Sie, Italian with tu, "Workspace", "Connector" / "connettore", "Single Sign-On" / "Single sign-on". Strings I'm least sure about:
Type
Testing
3 new tests in
tests/e2e/i18n.spec.ts, with a mocked role, SMTP and alert webhook settings, version, license status, an Entra provider with SCIM, recovery codes and a role mapping:de-DE: the Roles page (plural counts, user role table) and the Single sign-on page (provider list, recovery codes, SCIM panel, the provider form) render in German.it-IT: the Administration page (alert summary, version line), the License page (status, fields) and the role mappings render in Italian.en-US: Roles, Administration, License, Single sign-on (recovery codes, SCIM, the role mapping footer) and the activation page stay exactly as before.The key-parity test from #1248 covers the new keys. I also checked that every German and Italian message parses and uses the same placeholders and tags as the English one.
packages/frontendnpm run lintmain, none new)packages/frontendnpx tsc --noEmit -p tsconfig.jsonpackages/frontendnpm run buildpackages/frontendnpm run test:e2eThe backend isn't touched, so I didn't rerun its suite.
Checklist
packages/frontend/AGENTS.mdwas rewritten bynext devlocally and is left out, as AGENTS.md asks.Related Issues
Part of #1271 (Settings and admin, second of three PRs). After this:
/admin/*, then knowledge graph and memory.