Repository navigation
Description
Emile, the editor of the French edition (QuantEcon/lecture-python-programming.fr), ruled on its programming vocabulary on 2026-09-23. None of these terms is pinned in glossary/fr.json (v1.2, 369 terms, released in v0.29.3), so every French draft and every sync still chooses them afresh, and the edition mixes « fonction intégrée » with « fonction native » and « package » with « paquet ». This task pins them.
The rulings
| English | French | Ruled on |
|---|---|---|
| Built-in function | Fonction native | QuantEcon/lecture-python-programming.fr#80, following the French Python documentation's Fonctions natives |
| Built-in type | Type natif | the same comment |
| Built-in namespace | Espace de nommage contenant les primitives | the same comment, following the French Python tutorial |
| Package | Paquet | QuantEcon/lecture-python-programming.fr#42, following the French Python tutorial |
| Python package | Paquet Python | the same comment |
| Library | Bibliothèque | the same comment: only where the English says "library"; where it says "package", « paquet » (so « paquet NumPy » for "the NumPy package") |
| Package manager | Gestionnaire de paquets | the same comment |
Already pinned and unchanged here: Lecture → Cours, confirmed in the same comment, and Namespace → Espace de nommage (v1.2, #328).
Not pinned here: "sub-package", which the lectures write « sous-package » (numpy, python_by_example and scipy). The package ruling points to « sous-paquet », but the question was not asked. It goes to Emile on the French consistency pull request (QuantEcon/lecture-python-programming.fr#89), as a small confirmation tied to the lines that pull request changes, and into a later glossary version if confirmed.
Steps
- Add the seven entries to
glossary/fr.jsonas v1.3: insert-only and alphabetical, with nothing reordered, each with acontextthat says where it applies, as glossary(fr): v1.2 — Namespace, Heads, standard-normal context from the second editor round #328 did for Namespace (for example "Python — a function available without import, as in the official French Python docs"). Update the term count where the docs state it:docs/index.md,docs/user/glossary.mdandglossary/README.md(369 → 376). - Check that the terms land. With the CLI built from the pull request's branch, draft the lectures that use these words most,
namesandfunctions(built-in) andpython_by_example(package), three draws each, and count each pinned term's renderings against the English. A glossary pin should land in every draw. If one misses, look at its context before reaching for a prompt rule, and measure any rule with at least 12 draws per arm, as the release gate's rate check does. - Open the pull request with the table above, the draw counts, and a closing line for this issue (the word "Closes" followed by this issue's number). @mmcky merges.
- Link the merged pull request on Terminology: seven glossary rulings (from action-translation#78 + cours/chapitre) lecture-python-programming.fr#42: its second check asks for that link, and that item then closes.
The release that carries v1.3 is #346.
Done when
glossary/fr.jsonv1.3, with the seven entries, is merged, with the draw counts on its pull request- the merged pull request is linked on Terminology: seven glossary rulings (from action-translation#78 + cours/chapitre) lecture-python-programming.fr#42
Activity
mmcky commentedon Oct 12, 2026
Evidence from the French editor's third round, 2026-10-12. In three French drafts of
python_essentials.mdat v0.29.4, every built-in site came out as « intégré(e)(s) », 9 of 9: « types de données intégrés » (English line 52), « la fonction intégréeopen()» (line 300) and « la fonction intégréesum()» (line 771). The editor's corrections of the same lines, committed to the Frenchmainon 2026-10-06, apply this issue's rulings: « types de données natifs », « la fonction nativeopen()» and « la fonction nativesum()» (QuantEcon/lecture-python-programming.fr#93, items 11 to 13). The same round applies « paquet » for "package" inneed_for_speed.md(QuantEcon/lecture-python-programming.fr#94).python_essentials.mdwould make a good fixture for step 2: three built-in sites, with the editor's own text to compare against.A candidate for a later glossary version, not this issue: "Docstring" → « chaîne de documentation ». The editor has now chosen it twice (QuantEcon/lecture-python-programming.fr#80 and QuantEcon/lecture-python-programming.fr#93), while the drafts vary by lecture: 3 of 3 in
namesat v0.29.2, 0 of 3 inpython_essentialsat v0.29.4.