Skip to content

Le KMS français 🥖🇫🇷 - #1124

Open
HatemMn wants to merge 7 commits into
rbac_regofrom
feat/kms_french
Open

Le KMS français 🥖🇫🇷#1124
HatemMn wants to merge 7 commits into
rbac_regofrom
feat/kms_french

Conversation

@HatemMn

@HatemMn HatemMn commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Overview

translated to french

To reviewers

As you can see, diffs are way too minimal, which does proves that i18n was integrated very well

However as you might have guessed the translation being machine generated not much toughts were put into it, so please just go through reading random snippets (or navigate the UI) and comment if some terms seems too machinal (example: I didn't like "calculer le hashage" as we naturally say "calculer le hash")

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds French (fr) as an additional UI locale in the React/Ant Design frontend by wiring French into the existing i18n locale registry and providing French translation bundles.

Changes:

  • Register French locale support for Ant Design and Day.js locale switching.
  • Add French translation resources for common, menu, layout, locate, and actions namespaces.
  • Add a branch changelog entry describing the UI locale addition (with one wording issue noted in review comments).

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
ui/src/i18n/useAppLocale.ts Imports Day.js French locale so dayjs.locale("fr") works when French is selected.
ui/src/i18n/localeRegistry.ts Registers the fr locale (label, AntD locale, Day.js locale, matcher, and translation bundles).
ui/src/i18n/locales/fr/menu.json French translations for sidebar/menu entries.
ui/src/i18n/locales/fr/locate.json French translations for the Locate page UI strings.
ui/src/i18n/locales/fr/layout.json French translations for layout strings (header/footer/login/404/etc.).
ui/src/i18n/locales/fr/common.json Shared/common French UI strings.
ui/src/i18n/locales/fr/actions.json French translations for action forms and related UI copy.
CHANGELOG/feat_french_kms.md Documents the feature in the branch changelog (one refactoring claim appears inaccurate).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread CHANGELOG/feat_french_kms.md
@HatemMn

HatemMn commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

Will just check smth

@Manuthor
Manuthor changed the base branch from develop to rbac_rego August 22, 2026 05:32
@Manuthor
Manuthor force-pushed the feat/kms_french branch 3 times, most recently from 7e21eee to f3427e2 Compare August 23, 2026 08:30
Manuthor and others added 7 commits August 24, 2026 08:37
- fix(crl): use find_all in find_revoked_certificates so CRL includes
  certs from all users, not just those accessible to the requesting user
- feat(crl): add CO guard at generate_crl entry; audit-log CO bypass
- feat(crl): add KMS::find_active_co() helper (first active CO or None)
- feat(crl): auto-regenerate issuer CRL on certificate revocation when
  kms_public_url is set; uses find_active_co for signer identity;
  errors are warn-logged and never fail the Revoke operation
- feat(db): add crls table (SQLite/PgSQL/MySQL/Redis) with upsert_crl
  and get_crl; table created at server boot alongside all other tables
- feat(crl): persist signed CRL to DB after every generate_crl call
- feat(crl): get_cached_crl loads from DB on cold start (no 404 after
  server restart); public CDP endpoint immediately available
- test(crl): add test_crl_contains_certs_from_all_users — regression
  guard for find_all fix: 3 certs owned by 2 users, CRL must have 3
  entries; reverts to 1 without fix
- fix(lychee): exclude crate/ from link checks to avoid false-positive
  parse errors on multi-host PostgreSQL connection strings in comments
- docs(pki): sync pki.md with auto-CDP injection, public CDP endpoint,
  CO requirement, auto-regen on revoke, DB persistence, kms_public_url
- docs(revoke): remove stale 'revocation reason not maintained' sentence
- docs(tables): add crls table (count 5->6, schema, ERD, Redis note)
- docs(log-reference): add new auto-CRL warn/info/audit log entries
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.

4 participants