Skip to content

fr-FR `common.json` — consolidated quality review (four assessments)

Version: 2.0
Last Updated: 2026-08-04 16:51:48

Status: remediated 2026-08-04. Every S1–S5 class below has been fixed and is now enforced by a permanent gate. See §8 Resolution for what changed and .cursor/rules/i18n-locale-quality.mdc for the controls. Sections 1–7 are preserved as the review record that produced those controls.

Scope: frontend/src/locales/fr-FR/common.json (2,518 keys) against en-AU/common.json (2,507 keys).
Related: i18n FR QA harness · exceptions register findings/i18n-fr-FR-review-exceptions.json · doc 03 i18n requirements


Not release-ready for a French-speaking market; safe to keep for internal/local testing.

All four assessments agree the file is comprehensible — a French speaker could navigate the app — but it fails a polish bar in four ways: residual untranslated English, grammatical agreement errors, calques/false friends, and inconsistent terminology for the same source term.

The good news is that the defects are concentrated and enumerable (roughly 120–150 keys of ~2,500, about 5%), and the structurally dangerous class — broken ICU plurals or dropped placeholders — is absent.

AssessmentMethodHeadline
1 — Qwen qwen3.6-35b-a3bTranslation + spot review (~40 keys)Bulk translation acceptable
2 — Gemma gemma-4-31bAttempted; never completed (server/JSON failures)No usable output
3 — hy-mt2 hy-mt2-30b-a3bFull automated pass, 2,378 pairs + triage2,119 auto-clear, 259 flagged, triaged to 0 open
4 — this reviewStatic analysis + human judgment over the whole filehy-mt2 triage was too permissive; reopens 3 classes it closed

Most important conclusion: the hy-mt2 pass closed the register at “0 open”, but that number was optimistic. Its per-key verdicts were tuned to reject style pedantry, and in doing so it dismissed genuine untranslated English and agreement errors as “style preference”. Treat the exceptions register as stale, not authoritative.


2. What is genuinely sound — do not re-litigate

Section titled “2. What is genuinely sound — do not re-litigate”

Independent verification found these clean, so remediation should not touch them:

  • ICU plural and placeholder integrity: no defects. Every {count, plural, …} form present in en-AU is present in French with matching variable names. Zero dropped or renamed placeholders across 2,507 compared keys. Several hy-mt2 “placeholder may break layout” warnings were false alarms.
  • No missing keys. French is a superset (2,518 vs 2,507 — the extra keys are stale entries, harmless but worth pruning).
  • Coverage is complete — npm run i18n:status reports every code-referenced key present.
  • Bulk register is appropriate. The warm, non-clinical tone the product wants is largely achieved. Many hy-mt2 “too clinical” flags were wrong; soins, aidant, and ordonnance are correct domain French and should be kept.

S1 — Untranslated English visible in the UI (21 keys, all verified)

Section titled “S1 — Untranslated English visible in the UI (21 keys, all verified)”

These are the most damaging: an English word inside a French sentence reads as a broken product.

KeyCurrent FrenchRecommended
billing.peopleInCarePersonnes sous votre carePersonnes dont vous vous occupez
billing.packPurchasedGeneric…une personne sous votre care.…une personne dont vous vous occupez.
billing.packReady…une personne sous votre care.…une personne dont vous vous occupez.
observations.page.selectPersonTitleSélectionnez une personne sous votre careSélectionnez une personne dont vous vous occupez
calendar.schedule.assignCarerAttribuer un carerAttribuer un aidant
calendar.save.titleUpdateSole…ou le carer pour le quart {slot}…ou l’aidant pour la vacation {slot}
calendar.dayActivity.handoverMeta{slot} · {carer} · Transmissionplaceholder is fine; variable name only — no change needed
auth.closeTenantMenuFermer le menu du tenantFermer le menu du compte
auth.welcome.tenantSuffixTenant : {name}.Compte : {name}.
auth.register.joinTenantRejoindre {tenant}placeholder only — no change needed
admin.catalogSuggestion.tenantCount{count} locataires{count} comptes clients
conditionPacks.qa.introLeadPeter tenant uniquement…QA-only string — see S3
billing.moduleUpgrade.sleepTracking.descriptionles patterns de sommeilles habitudes de sommeil
charts.doses.emptyDayRien sur la timelineRien sur la chronologie
dashboard.cancerTodayEmptytype de jour, check-ins, préparationtype de jour, points de suivi, préparation
nav.doseDueOpenScheduleDose due — horaire ouvertDose prévue — ouvrir le planning
scripts.scan.titleScanningScanning en cours…Numérisation en cours…
pain.mind.anxiety.l4Panic, incapable de se calmer…Panique, incapable de se calmer…
pain.mind.cognition.l1Légère forgetfulnessLégers oublis
vitals.bristol.type2Sausage grumeleuseSaucisse grumeleuse
vitals.bristol.type3Sausage fissuréeSaucisse fissurée
vitals.bristol.type4Sausage lisseSaucisse lisse

S2 — Grammar and agreement errors (verified)

Section titled “S2 — Grammar and agreement errors (verified)”
Key(s)ErrorFix
more.peopleBeingCaredFor, more.step1People, conditionPacks.wizard.subtitle, vitals.empty.noPatientsous votre soins — soins is pluralsous vos soins
calendar.recurrence.every7Days, every14Daystoutes les 7/14 jours — jour is masculinetous les 7/14 jours
schedule.slot.allRecordedTitlecet créneau — cet only before a vowel or mute hce créneau
pain.mind.behaviour.l1was Légère retrait (masculine noun)already corrected to Léger retrait

S3 — False friends, calques, and mistranslations (verified)

Section titled “S3 — False friends, calques, and mistranslations (verified)”
KeyCurrentProblemRecommended
vitals.bristol.groupHint.idealFacile à passerCalque of “easy to pass”Facile à évacuer
calendar.slot.overnight, calendar.slotShort.overnightNuitéeNuitée = a paid overnight stay, not a work slotNuit / Garde de nuit
dashboard.allClearTout est clairCalque of “All clear”Tout va bien / Rien à signaler
history.lock.payDifferenceTrailVotre anniversaire est réinitialisé à maintenant.Billing anniversary, not a birthdayVotre date anniversaire de facturation est réinitialisée à aujourd’hui.
vitals.tier.normalDescDans la plage de santéUnidiomaticDans la plage normale
pain.trend.totalReadingsTotal des lecturesLecture = reading a textNombre total de mesures
calendar.location.respiteRépitToo literal as a placeAccueil de répit / Séjour de répit
history.audit.viewSnapshotVoir l’aperçu completAperçu = preview; siblings use instantanéVoir l’instantané complet
conditionPacks.qa.introLeadPeter tenant uniquementDev/QA copy with a personal name shipped in a locale bundleRemove from the bundle or gate behind a QA-only namespace

S4 — Terminology inconsistency (62 clusters; new in this assessment)

Section titled “S4 — Terminology inconsistency (62 clusters; new in this assessment)”

The same English string is translated differently in different places. This is invisible to per-key review — only a whole-file comparison surfaces it — which is why the hy-mt2 pass missed it entirely.

Worst offenders:

EnglishCompeting French renderingsPick one
All clearTout est calme · Tout est clair · Tout est en ordreRien à signaler
OvernightNuit · Nuitée · nuitNuit
HomeAccueil · Domicile · Maisoncontext-dependent, but must be deliberate
People being cared forPersonnes assistées · Personnes sous votre assistance · Personnes sous votre soinsPersonnes dont vous vous occupez
Caring forPersonnes aidées · Prendre soin de · Soins àPersonnes dont vous vous occupez
Saving…Enregistrement en cours… · Enregistrement… · Sauvegarde en cours…Enregistrement…
Reading (measurement)mesure · lecturemesure
DismissFermer · IgnorerFermer
RemoveRetirer · Supprimerdistinguish remove vs delete deliberately
DOB / BornNaissance : {date} · Né(e) le {date} · Date de naissance {date}Date de naissance : {date}
T (weekday initial)J · Jeu. · M · Mar.one scheme across all weekday sets

Two additional collisions worth deciding explicitly:

  • Courses is used for both familyHelp.category.errands (errands) and shopping.newList.type.grocery (groceries) — two different features share one label. Suggest Commissions for errands, Courses for groceries.
  • quart vs vacation vs service for shift: 34 uses of quart, 1 of vacation, 2 of service. quart is Québécois; vacation is the standard France care-sector term. Pick per target market and apply globally.
  • Apostrophes are mixed: 310 strings use the straight ', 74 use the typographic ’. French convention is ’. Normalise the whole file.
  • ~129 keys are still identical to English or empty. Many are legitimately intentional (LynCareOS, 99+, —, ×, {count}×, phone-format examples, ICU-only templates), but a subset — notably several empty calendar.save.hint* and calendar.schedule.* strings — are genuine gaps.
  • 11 stale keys exist in French but not English; prune them.

Two changes applied during the hy-mt2 pass-3 triage were wrong, and the third assessment caught both:

  1. vitals.bristol.groupHint.ideal — I replaced the correct Facile à évacuer with the calque Facile à passer. Revert.
  2. calendar.slot.overnight / slotShort.overnight — I replaced Nuit with Nuitée, which means a paid overnight stay. Revert.

Both came from accepting a reviewer suggestion that read as idiomatic but changed meaning. The lesson for the harness: a single local model’s suggested_fr should never be auto-applied to domain vocabulary without a second signal.


Worth recording before the next locale, because these are process defects rather than translation defects:

  • Per-key batching cannot see inconsistency. Every S4 finding was invisible to a reviewer looking at one key at a time. A whole-file consistency check has to be a separate, deterministic pass — not an LLM pass.
  • “Too clinical” heuristics over-fired, so triage over-corrected. The auto-triage learned to dismiss register complaints wholesale, which also dismissed real untranslated-English reports that happened to be phrased as register complaints.
  • A reviewer that also proposes fixes will propose confident wrong ones. Nuitée and Facile à passer both came from the model and both passed the placeholder-safety gate, because the gate only checked structure, not meaning.
  • “0 open” was a triage artefact. The register should be re-derived after remediation, not trusted as a completion signal.

  1. Deterministic fixes first (no model needed): the 21 S1 keys, the 7 S2 grammar keys, the 9 S3 mistranslations, and the two reverts in §4. These are unambiguous and can be applied as a scripted, reviewable patch.
  2. Decide the terminology glossary (§S4) — shift, carer, tenant, reading, errands vs groceries, weekday scheme. This is a product decision, not a translation one. Record it in the QA harness doc so future locales inherit it.
  3. Apply the glossary mechanically and add a repeatable consistency checker (same EN → one FR) to the harness so this class cannot regress.
  4. Normalise apostrophes to ’ and fill the genuinely empty keys.
  5. Re-run the review to regenerate the exceptions register from the corrected file, then re-triage — expecting a much smaller flag set.
  6. Native-speaker sign-off before any French-facing release. No amount of local-model review substitutes for this; the four assessments disagree with each other precisely in the places where a native speaker is needed.

French is in good shape as an internal testing locale and a solid base for polish. It is roughly 5% away from release quality, and that 5% is now fully enumerated rather than estimated. The remaining work is mostly mechanical; the one genuine decision the product owner has to make is the terminology glossary in §S4 — in particular whether the target French market is France (vacation, infirmier·ère) or Canada (quart).


locales.config.json sets country: FR, so France conventions were applied. Recorded as market and shiftTerm in the rules file; switching to fr-CA is a one-line edit plus a re-run.

For shift, the file used the Canadian quart (de travail) throughout. Rather than the professional-register vacation, it now uses garde — the natural word for a family-care product in France (garde de nuit, planifier une garde). All 34 occurrences were rewritten individually so articles and participles agree, because garde is feminine and a blanket replacement would have produced un garde / sont couverts.

Fixes applied — 436 changes to fr-FR/common.json

Section titled “Fixes applied — 436 changes to fr-FR/common.json”
ClassChangesHow
Untranslated English (S1)21 keyskeyOverrides
Grammar and agreement (S2)7 keyskeyOverrides
False friends and calques (S3)9 keyskeyOverrides
Shift terminology34 keyskeyOverrides, agreement-checked
Consistency (S4)47 keyscanonicalBySource
Apostrophe normalisation (S5)297 stringstypography rule
Stale *_many keys11 removed--prune-stale

Both regressions from my own earlier triage (§4) are reverted.

ArtefactRole
frontend/src/locales/quality-rules.jsonEvery reviewed decision as data — glossary, banned terms, grammar patterns, allowed variance. New languages add a block, not code.
backend/scripts/check_locale_quality.pyDeterministic gate: UNTRANSLATED, INCONSISTENT, BANNED_TERM, GRAMMAR, PLACEHOLDER, TYPOGRAPHY, IDENTICAL, EMPTY, STALE. Baseline ratchet.
backend/scripts/i18n_apply_locale_fixes.pyApplies the auto-fixable rules; --dry-run, --prune-stale.
backend/scripts/locale_quality_baseline.json92 accepted findings, all genuine French cognates (Module, Notes, Urgent, Normal, SpO₂) or format strings.
.cursor/rules/i18n-locale-quality.mdcAgent-facing rules, including “never hand-edit a bundle to fix a defect class”.
scripts/run-quality-gates.ps1Gate wired into the local Definition of Done.
  • icu_placeholders() treated ICU plural-arm prose ({Record # dose}) as a placeholder, producing false drift warnings. It now requires the argument name to be followed by , or }.
  • i18n_locale_parity.py flagged blank translations even when the English source was also blank (sentence fragments joined in JSX). It now only reports a gap when the source has copy.

check_locale_quality.py — 92 findings, all baselined, 0 new.
i18n_locale_parity.py — keys and ICU placeholders aligned across 4 files.
npm run i18n:status — all code-referenced keys present.
ruff check — clean.

Native-speaker sign-off before any French-facing release. The controls catch mechanical defects; they do not certify fluency. The garde choice and the §S4 glossary entries in particular deserve a native reviewer’s confirmation.