Skip to content

French programming terms in the glossary: built-in, package and library #347

Open

Description

@mmcky

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

  1. Add the seven entries to glossary/fr.json as v1.3: insert-only and alphabetical, with nothing reordered, each with a context that 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.md and glossary/README.md (369 → 376).
  2. Check that the terms land. With the CLI built from the pull request's branch, draft the lectures that use these words most, names and functions (built-in) and python_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.
  3. 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.
  4. 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

Activity

  1. added
    enhancement
    on Oct 6, 2026
  2. self-assigned this
    on Oct 6, 2026
  3. added theissue type on Oct 6, 2026
  4. mmcky commented on Oct 12, 2026

    @mmcky
    ContributorAuthor

    Evidence from the French editor's third round, 2026-10-12. In three French drafts of python_essentials.md at 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ée open() » (line 300) and « la fonction intégrée sum() » (line 771). The editor's corrections of the same lines, committed to the French main on 2026-10-06, apply this issue's rulings: « types de données natifs », « la fonction native open() » and « la fonction native sum() » (QuantEcon/lecture-python-programming.fr#93, items 11 to 13). The same round applies « paquet » for "package" in need_for_speed.md (QuantEcon/lecture-python-programming.fr#94).

    python_essentials.md would 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 names at v0.29.2, 0 of 3 in python_essentials at v0.29.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions