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.mdcfor 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
1. Verdict
Section titled “1. Verdict”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.
| Assessment | Method | Headline |
|---|---|---|
1 — Qwen qwen3.6-35b-a3b | Translation + spot review (~40 keys) | Bulk translation acceptable |
2 — Gemma gemma-4-31b | Attempted; never completed (server/JSON failures) | No usable output |
3 — hy-mt2 hy-mt2-30b-a3b | Full automated pass, 2,378 pairs + triage | 2,119 auto-clear, 259 flagged, triaged to 0 open |
| 4 — this review | Static analysis + human judgment over the whole file | hy-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 inen-AUis 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:statusreports 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, andordonnanceare correct domain French and should be kept.
3. Severity-ranked issue register
Section titled “3. Severity-ranked issue register”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.
| Key | Current French | Recommended |
|---|---|---|
billing.peopleInCare | Personnes sous votre care | Personnes 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.selectPersonTitle | Sélectionnez une personne sous votre care | Sélectionnez une personne dont vous vous occupez |
calendar.schedule.assignCarer | Attribuer un carer | Attribuer un aidant |
calendar.save.titleUpdateSole | …ou le carer pour le quart {slot} | …ou l’aidant pour la vacation {slot} |
calendar.dayActivity.handoverMeta | {slot} · {carer} · Transmission | placeholder is fine; variable name only — no change needed |
auth.closeTenantMenu | Fermer le menu du tenant | Fermer le menu du compte |
auth.welcome.tenantSuffix | Tenant : {name}. | Compte : {name}. |
auth.register.joinTenant | Rejoindre {tenant} | placeholder only — no change needed |
admin.catalogSuggestion.tenantCount | {count} locataires | {count} comptes clients |
conditionPacks.qa.introLead | Peter tenant uniquement… | QA-only string — see S3 |
billing.moduleUpgrade.sleepTracking.description | les patterns de sommeil | les habitudes de sommeil |
charts.doses.emptyDay | Rien sur la timeline | Rien sur la chronologie |
dashboard.cancerTodayEmpty | type de jour, check-ins, préparation | type de jour, points de suivi, préparation |
nav.doseDueOpenSchedule | Dose due — horaire ouvert | Dose prévue — ouvrir le planning |
scripts.scan.titleScanning | Scanning en cours… | Numérisation en cours… |
pain.mind.anxiety.l4 | Panic, incapable de se calmer… | Panique, incapable de se calmer… |
pain.mind.cognition.l1 | Légère forgetfulness | Légers oublis |
vitals.bristol.type2 | Sausage grumeleuse | Saucisse grumeleuse |
vitals.bristol.type3 | Sausage fissurée | Saucisse fissurée |
vitals.bristol.type4 | Sausage lisse | Saucisse lisse |
S2 — Grammar and agreement errors (verified)
Section titled “S2 — Grammar and agreement errors (verified)”| Key(s) | Error | Fix |
|---|---|---|
more.peopleBeingCaredFor, more.step1People, conditionPacks.wizard.subtitle, vitals.empty.noPatient | sous votre soins — soins is plural | sous vos soins |
calendar.recurrence.every7Days, every14Days | toutes les 7/14 jours — jour is masculine | tous les 7/14 jours |
schedule.slot.allRecordedTitle | cet créneau — cet only before a vowel or mute h | ce créneau |
pain.mind.behaviour.l1 | was 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)”| Key | Current | Problem | Recommended |
|---|---|---|---|
vitals.bristol.groupHint.ideal | Facile à passer | Calque of “easy to pass” | Facile à évacuer |
calendar.slot.overnight, calendar.slotShort.overnight | Nuitée | Nuitée = a paid overnight stay, not a work slot | Nuit / Garde de nuit |
dashboard.allClear | Tout est clair | Calque of “All clear” | Tout va bien / Rien à signaler |
history.lock.payDifferenceTrail | Votre anniversaire est réinitialisé à maintenant. | Billing anniversary, not a birthday | Votre date anniversaire de facturation est réinitialisée à aujourd’hui. |
vitals.tier.normalDesc | Dans la plage de santé | Unidiomatic | Dans la plage normale |
pain.trend.totalReadings | Total des lectures | Lecture = reading a text | Nombre total de mesures |
calendar.location.respite | Répit | Too literal as a place | Accueil de répit / Séjour de répit |
history.audit.viewSnapshot | Voir l’aperçu complet | Aperçu = preview; siblings use instantané | Voir l’instantané complet |
conditionPacks.qa.introLead | Peter tenant uniquement | Dev/QA copy with a personal name shipped in a locale bundle | Remove 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:
| English | Competing French renderings | Pick one |
|---|---|---|
| All clear | Tout est calme · Tout est clair · Tout est en ordre | Rien à signaler |
| Overnight | Nuit · Nuitée · nuit | Nuit |
| Home | Accueil · Domicile · Maison | context-dependent, but must be deliberate |
| People being cared for | Personnes assistées · Personnes sous votre assistance · Personnes sous votre soins | Personnes dont vous vous occupez |
| Caring for | Personnes aidées · Prendre soin de · Soins à | Personnes dont vous vous occupez |
| Saving… | Enregistrement en cours… · Enregistrement… · Sauvegarde en cours… | Enregistrement… |
| Reading (measurement) | mesure · lecture | mesure |
| Dismiss | Fermer · Ignorer | Fermer |
| Remove | Retirer · Supprimer | distinguish remove vs delete deliberately |
| DOB / Born | Naissance : {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:
Coursesis used for bothfamilyHelp.category.errands(errands) andshopping.newList.type.grocery(groceries) — two different features share one label. SuggestCommissionsfor errands,Coursesfor groceries.quartvsvacationvsservicefor shift: 34 uses ofquart, 1 ofvacation, 2 ofservice.quartis Québécois;vacationis the standard France care-sector term. Pick per target market and apply globally.
S5 — Typography and polish
Section titled “S5 — Typography and polish”- 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 emptycalendar.save.hint*andcalendar.schedule.*strings — are genuine gaps. - 11 stale keys exist in French but not English; prune them.
4. Corrections to my own earlier triage
Section titled “4. Corrections to my own earlier triage”Two changes applied during the hy-mt2 pass-3 triage were wrong, and the third assessment caught both:
vitals.bristol.groupHint.ideal— I replaced the correctFacile à évacuerwith the calqueFacile à passer. Revert.calendar.slot.overnight/slotShort.overnight— I replacedNuitwithNuité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.
5. Where the automated harness fell short
Section titled “5. Where the automated harness fell short”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éeandFacile à passerboth 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.
6. Recommended remediation sequence
Section titled “6. Recommended remediation sequence”- 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.
- 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.
- Apply the glossary mechanically and add a repeatable consistency checker (same EN → one FR) to the harness so this class cannot regress.
- Normalise apostrophes to
’and fill the genuinely empty keys. - Re-run the review to regenerate the exceptions register from the corrected file, then re-triage — expecting a much smaller flag set.
- 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.
7. Bottom line
Section titled “7. Bottom line”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).
8. Resolution
Section titled “8. Resolution”Market decision
Section titled “Market decision”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”| Class | Changes | How |
|---|---|---|
| Untranslated English (S1) | 21 keys | keyOverrides |
| Grammar and agreement (S2) | 7 keys | keyOverrides |
| False friends and calques (S3) | 9 keys | keyOverrides |
| Shift terminology | 34 keys | keyOverrides, agreement-checked |
| Consistency (S4) | 47 keys | canonicalBySource |
| Apostrophe normalisation (S5) | 297 strings | typography rule |
Stale *_many keys | 11 removed | --prune-stale |
Both regressions from my own earlier triage (§4) are reverted.
Controls now in place
Section titled “Controls now in place”| Artefact | Role |
|---|---|
frontend/src/locales/quality-rules.json | Every reviewed decision as data — glossary, banned terms, grammar patterns, allowed variance. New languages add a block, not code. |
backend/scripts/check_locale_quality.py | Deterministic gate: UNTRANSLATED, INCONSISTENT, BANNED_TERM, GRAMMAR, PLACEHOLDER, TYPOGRAPHY, IDENTICAL, EMPTY, STALE. Baseline ratchet. |
backend/scripts/i18n_apply_locale_fixes.py | Applies the auto-fixable rules; --dry-run, --prune-stale. |
backend/scripts/locale_quality_baseline.json | 92 accepted findings, all genuine French cognates (Module, Notes, Urgent, Normal, SpO₂) or format strings. |
.cursor/rules/i18n-locale-quality.mdc | Agent-facing rules, including “never hand-edit a bundle to fix a defect class”. |
scripts/run-quality-gates.ps1 | Gate wired into the local Definition of Done. |
Two engine bugs fixed along the way
Section titled “Two engine bugs fixed along the way”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.pyflagged 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.
Verification
Section titled “Verification”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.
Still open
Section titled “Still open”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.