Skip to content

bug(i18n): French uses two names for two-factor authentication across the UI and guides #4350

Closed

Description

@yannickmonney

Summary

French users see two names for the same feature:

  • "authentification à double facteur" on the two-factor screens and in the feature's own guide.
  • "authentification à deux facteurs" in the audit log and in five other French guide pages.

One guide tells members to look for a section called Authentification à deux facteurs, but the French account page doesn't use that title. German and English each use a single term.

Source and environment

  • main at 628a1c62302f6bd4bbec9995bea4b711758a8f73, read 2026-10-05.
  • Found by reading the shipped catalogs, guides and the code that renders them. Nothing was rendered for this report (see Limits).

Impact

  • Admins see both names on the pages they use to manage and audit two-factor authentication.
    • Settings → Governance → Security monitoring (/dashboard/<org>/settings/governance/security-monitoring) titles the policy "Authentification à double facteur".
    • Settings → Governance → Audit logs (/dashboard/<org>/settings/governance/audit-logs) shows, in the table and the entry details:
      • "Authentification à deux facteurs activée", "… désactivée" and "… réinitialisée par l'administrateur";
      • the resource type "Authentification à deux facteurs".
  • Members get an instruction that doesn't match the screen.
    • docs/fr/platform/member/preferences.md:18 says "Configure une application sous Authentification à deux facteurs".
    • The account page (/dashboard/<org>/settings/account) titles that section "Authentification à double facteur" (twoFactor.enrollment.title, rendered at services/platform/app/features/settings/account/components/two-factor-section.tsx:146 and :254).
    • In these guides, bold text names the label shown on screen.
  • Severity: low. The meaning is still clear, but the wording varies on a security feature.

Reproduction (deterministic, from the files at the SHA above)

services/platform/messages/fr.yml

  • "deux facteurs":
    • settings.logs.audit.actionLabels.2fa_enrolled (line 6976)
    • settings.logs.audit.actionLabels.2fa_disabled (6977)
    • settings.logs.audit.actionLabels.2fa_reset_by_admin (6978)
    • settings.logs.audit.resourceTypeLabels.twoFactorAuth (7095)
  • "double facteur": 28 keys:
    • 9 in twoFactor.enrollment.* (including twoFactor.enrollment.title) and twoFactor.setup.title;
    • 8 of the 14 governance.twoFactorPolicy.* keys, including the title. The other 6 don't name the feature;
    • 3 in twoFactor.admin.*, and 2 each in twoFactor.enroll.*, twoFactor.grace.* and twoFactor.errors.*;
    • settings.organization.twoFactorResetSuccess.

The audit events are really written

  • services/platform/backend/auth/auth.ts:597–610 writes 2fa_enrolled and 2fa_disabled.
  • services/platform/backend/domains/members/service.ts:748 writes 2fa_reset_by_admin.
  • services/platform/backend/domains/two_factor/service.ts:165 sets the resource type twoFactorAuth.
  • The audit table renders the labels at services/platform/app/features/settings/audit-logs/hooks/use-audit-log-table-config.tsx:72 (action) and :108 (resource type). The entry details render them at services/platform/app/features/settings/audit-logs/components/audit-log-table.tsx:190 and :221.

French guides

  • The feature name with "à deux facteurs" (6 mentions on 5 pages):
    • platform/member/preferences.md:18: the bold label and the link text;
    • platform/admin/overview.md:35;
    • platform/admin/members-and-roles.md:73;
    • self-hosted/overview.md:44;
    • self-hosted/install/cli-install.md:323, heading "Connexion à deux facteurs imposée".
  • "double facteur":
    • platform/admin/two-factor-authentication.md, 13 mentions. Its title in services/docs/app/content/frontmatter.json is "Authentification à double facteur".
    • platform/admin/governance/policies-and-limits.md.
  • Not a mismatch: cli-install.md:325 says "aucun des deux facteurs" ("neither of the two factors"). That's ordinary French for the two factors, not the feature name.

Expected and observed

  • Expected: one French term for two-factor authentication across the catalogs and guides.
    • The smallest change: change the 4 audit-log labels and the 6 guide mentions to "double facteur". The feature's own 28 strings, its guide and its page title already use it.
    • The other direction is just as valid if maintainers prefer it.
  • Observed: both terms, split as listed above.
  • Controls: each of the other languages uses one form.
    • German: "Zwei-Faktor" in 34 keys and 8 guide pages.
    • English: "two-factor" in 35 keys and 9 guide pages. The three English "two-step" mentions are about workflows and uploads, not sign-in.

Root cause

Nothing pins the French rendering, and nothing checks the two French forms against each other.

  • packages/ui/src/i18n/tests/glossary/glossary.yml only has acronym_2fa, with an English form ("2FA") and no French.
  • packages/ui/src/i18n/tests/locales/fr/terminology.ts has no drift rules (calques: []).
  • The write-translations skill notes don't mention the term.
  • The terminology checks only flag an English glossary form inside German or French text, so both French forms pass.
  • In the docs corpus, terminology-ui-label runs in report mode (services/docs/tests/docs.test.ts).

Acceptance checks

  1. No feature-name mention of the other form remains in services/platform/messages/fr.yml, docs/fr/** or services/docs/app/content/frontmatter.json.
    • Example check: git grep -niE "à (deux facteurs|double facteur)" shows only the chosen form.
    • The ordinary phrase in cli-install.md:325 may stay.
  2. The term is pinned where translators and checks look:
    • a glossary entry for "Two-factor authentication" with its French form (German "Zwei-Faktor-Authentifizierung" as today);
    • a French drift rule that reports the other wording, for example a calques entry matching à deux facteurs;
    • planted positive and negative fixtures for that rule.
  3. The bold label in docs/fr/platform/member/preferences.md matches the French section title exactly.
  4. If the cli-install.md heading changes, links to its old anchor are updated. None link to it at this SHA.
  5. The existing i18n and docs tests pass.

Limits

  • Static only: catalogs, guides and code paths at the SHA above.
    • The French screens weren't opened in a browser for this report, because a fleet capacity hold was in place.
    • Where each key appears comes from the code that renders it.
  • No term is chosen for the maintainers.
  • Not audited: other French security terms, such as the gender of "passkey" (une passkey in preferences.md:18, un passkey in cli-install.md:325).

Found by the TALE-358 local-QA role: occurrence 2026-10-05 12:15 Europe/Zurich, run b6be7438-a92e-4afc-b55a-cfdebbcff8f9. The scan script and its output are kept in that occurrence's evidence archive on TALE-358.

Activity

  1. added
    bug
    docs
    service: platform
    on Oct 5, 2026
  2. yannickmonney commented on Oct 6, 2026

    @yannickmonney
    ContributorAuthor

    Location update after the catalog split (TALE-358 Review A, run 844c1971, main at 890de6258).

    Since 68386d304, each catalog is a directory of topic files. The finding still holds; the references move as follows:

    • "à deux facteurs":
      • services/platform/messages/fr/settings.yml:1412–1414: logs.audit.actionLabels.2fa_enrolled, 2fa_disabled and 2fa_reset_by_admin;
      • :1531: logs.audit.resourceTypeLabels.twoFactorAuth.
    • "double facteur":
      • services/platform/messages/fr/twoFactor.yml, for example :2, enrollment.title;
      • services/platform/messages/fr/governance.yml:504–527, twoFactorPolicy.*;
      • services/platform/messages/fr/settings.yml:280.

    The guide references are unchanged.

  3. added
    agent-ready
    on Oct 29, 2026
  4. tale-code-bot commented on Oct 31, 2026

    @tale-code-bot
    Collaborator

    Task TALE-70 fixes this on branch fix/fr-two-factor-term.

    • Head: 9bff7a23a8ba85f8864febbf592e3ced3696ab9d.
    • Base: train at 7d62f0439cdfdfd64e9642e99883f78848ce40e1.
    • It reaches main with the next merge train, and its commit closes this issue there.

    Chosen form: "Authentification à double facteur". The short form "le double facteur" stays.

    • At the base, "double facteur" was in 30 French catalog keys and "à deux facteurs" in 5.
    • The account section, the governance policy and the feature's own guide already used "double facteur".

    What changed:

    • Platform strings:
      • the 4 audit-log labels;
      • the agent-consent error;
      • 3 strings that said "double authentification": the two passkey texts and a data-request category.
    • French guides: 12 mentions on 9 pages, plus 2 on the people-and-roles tutorial page.
    • Member preferences guide: the bold label now matches the account section title exactly.
    • cli-install.md: the heading "Connexion à double facteur imposée" is renamed. Nothing linked to its old anchor. "aucun des deux facteurs" is ordinary French and stays.

    How the term is pinned:

    • Glossary. A new entry for "Two-factor authentication" gives the German form "Zwei-Faktor-Authentifizierung" and the French form "Authentification à double facteur".
      • Its _avoid list makes the UI-label check reject "à deux facteurs" and "double authentification". The check fails the platform and web catalog suites, and reports in the docs.
    • Why not calques: no check reads terminology.calques, so a rule there would be inert.
    • Fixtures cover both rejected names. They also cover the ordinary French that must stay: "aucun des deux facteurs" and the API reference's "refuse une double authentification", which means a second credential on one request.
    • A platform test keeps the account section, the governance policy and the audit labels on one name in each locale.

    Not changed:

    • Passkey gender. "une passkey" in preferences.md vs "un passkey" in cli-install.md is left alone, as this issue's Limits say.
    • ep8 video narration. The French voice-over script of the ep8 tutorial video (services/platform/tests/docs-videos/episodes/ep8-people/episode.ts) still says "la double authentification". It is the script of a recorded video, so it changes the next time that episode is produced.
  5. added a commit that references this issue on Oct 31, 2026
    3a544f7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readybugdocsservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions