Skip to content

i18n(spp_programs): correct broken/half-machine French translations in fr.po #237

Description

@gwynncausing

Context

During QA of a Togo deployment in fr_FR, several strings in spp_programs/i18n/fr.po render as machine-mangled half-French — the verb or noun was translated but the rest of the phrase was left in English, producing strings no native speaker would write. Affects every fr_FR deployment, not just ours.

Examples (currently in upstream 19.0)

Every line below is verified against spp_programs/i18n/fr.po@00f1e5a:

msgid Current msgstr (wrong) Line Proposed
In-Kind In-Type L5790-5791 Dons en nature
Initial Amount Initial Montant L5972-5973 Montant initial
Not Paid Not Payé L7104-7105 Non payé
To Approve To Approuver L10100-10101 À approuver
Verify Eligibility Verify Éligibilité L10530-10531 Vérifier l'éligibilité
Prepare Entitlements Préparer Droits (in an embedded help string at L4738) Préparer les droits

The In-Kind issue cascades into ~9 related entries (In-Kind Entitlement, In-Kind Entitlement Approval, …, all currently In-Type Droit ...) — all at L5790–5832.

Where it hurts

All visible on the FSB program form and cycle form: state pipeline badges (To Approve, Distributed), action buttons (Verify Eligibility, Prepare Entitlements), financial summary fields (Initial Amount), and the In-Kind menu/program — i.e. the most heavily-used operator screens.

Workaround (downstream)

We've shipped a cross-module override in our downstream BOMS module's fr.po plus a force-reload migration with overwrite=True to correct these on our QA + UAT instances. This is fragile and per-deployment — fixing at source removes the need for downstream overrides.

Offer

We can supply reviewed Togo-French .po entries as a PR (already deployed and used in production-style QA). Maintainer call on whether to land as one batch or split per concern.

Related

Severity

MEDIUM — visibly unprofessional in any fr_FR deployment, not a functional blocker.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions