| 1 |
### Target language |
| 2 |
|
| 3 |
Translate to French (français). |
| 4 |
|
| 5 |
Language code: fr. |
| 6 |
|
| 7 |
### Grammar to use when talking to the reader |
| 8 |
|
| 9 |
Use the formal grammar (use `vous` instead of `tu`). |
| 10 |
|
| 11 |
Additionally, in instructional sentences, prefer the present tense for obligations: |
| 12 |
|
| 13 |
- Prefer `vous devez …` over `vous devrez …`, unless the English source explicitly refers to a future requirement. |
| 14 |
|
| 15 |
- When translating “make sure (that) … is …”, prefer the indicative after `vous assurer que` (e.g. `Vous devez vous assurer qu'il est …`) instead of the subjunctive (e.g. `qu'il soit …`). |
| 16 |
|
| 17 |
### Quotes |
| 18 |
|
| 19 |
- Convert neutral double quotes (`"`) to French guillemets (`«` and `»`). |
| 20 |
|
| 21 |
- Do not convert quotes inside code blocks, inline code, paths, URLs, or anything wrapped in backticks. |
| 22 |
|
| 23 |
Examples: |
| 24 |
|
| 25 |
Source (English): |
| 26 |
|
| 27 |
``` |
| 28 |
"Hello world" |
| 29 |
“Hello Universe” |
| 30 |
"He said: 'Hello'" |
| 31 |
"The module is `__main__`" |
| 32 |
``` |
| 33 |
|
| 34 |
Result (French): |
| 35 |
|
| 36 |
``` |
| 37 |
"Hello world" |
| 38 |
“Hello Universe” |
| 39 |
"He said: 'Hello'" |
| 40 |
"The module is `__main__`" |
| 41 |
``` |
| 42 |
|
| 43 |
### Ellipsis |
| 44 |
|
| 45 |
- Make sure there is a space between an ellipsis and a word following or preceding the ellipsis. |
| 46 |
|
| 47 |
Examples: |
| 48 |
|
| 49 |
Source (English): |
| 50 |
|
| 51 |
``` |
| 52 |
...as we intended. |
| 53 |
...this would work: |
| 54 |
...etc. |
| 55 |
others... |
| 56 |
More to come... |
| 57 |
``` |
| 58 |
|
| 59 |
Result (French): |
| 60 |
|
| 61 |
``` |
| 62 |
... comme prévu. |
| 63 |
... cela fonctionnerait : |
| 64 |
... etc. |
| 65 |
D'autres ... |
| 66 |
La suite ... |
| 67 |
``` |
| 68 |
|
| 69 |
- This does not apply in URLs, code blocks, and code snippets. Do not remove or add spaces there. |
| 70 |
|
| 71 |
### Headings |
| 72 |
|
| 73 |
- Prefer translating headings using the infinitive form (as is common in the existing French docs): `Créer…`, `Utiliser…`, `Ajouter…`. |
| 74 |
|
| 75 |
- For headings that are instructions written in imperative in English (e.g. `Go check …`), keep them in imperative in French, using the formal grammar (e.g. `Allez voir …`). |
| 76 |
|
| 77 |
### French instructions about technical terms |
| 78 |
|
| 79 |
Do not try to translate everything. In particular, keep common programming terms (e.g. `framework`, `endpoint`, `plug-in`, `payload`). |
| 80 |
|
| 81 |
Keep class names, function names, modules, file names, and CLI commands unchanged. |
| 82 |
|
| 83 |
### List of English terms and their preferred French translations |
| 84 |
|
| 85 |
Below is a list of English terms and their preferred French translations, separated by a colon (:). Use these translations, do not use your own. If an existing translation does not use these terms, update it to use them. |
| 86 |
|
| 87 |
- /// note | Technical Details»: /// note | Détails techniques |
| 88 |
- /// note: /// note | Remarque |
| 89 |
- /// tip: /// tip | Astuce |
| 90 |
- /// warning: /// warning | Alertes |
| 91 |
- /// check: /// check | Vérifications |
| 92 |
- /// info: /// info |
| 93 |
|
| 94 |
- the docs: les documents |
| 95 |
- the documentation: la documentation |
| 96 |
|
| 97 |
- Exclude from OpenAPI: Exclusion d'OpenAPI |
| 98 |
|
| 99 |
- framework: framework (do not translate to cadre) |
| 100 |
- performance: performance |
| 101 |
|
| 102 |
- type hints: annotations de type |
| 103 |
- type annotations: annotations de type |
| 104 |
|
| 105 |
- autocomplete: autocomplétion |
| 106 |
- autocompletion: autocomplétion |
| 107 |
|
| 108 |
- the request (what the client sends to the server): la requête |
| 109 |
- the response (what the server sends back to the client): la réponse |
| 110 |
|
| 111 |
- the request body: le corps de la requête |
| 112 |
- the response body: le corps de la réponse |
| 113 |
|
| 114 |
- path operation: chemin d'accès |
| 115 |
- path operations (plural): chemins d'accès |
| 116 |
- path operation function: fonction de chemin d'accès |
| 117 |
- path operation decorator: décorateur de chemin d'accès |
| 118 |
|
| 119 |
- path parameter: paramètre de chemin |
| 120 |
- query parameter: paramètre de requête |
| 121 |
|
| 122 |
- the `Request`: `Request` (keep as code identifier) |
| 123 |
- the `Response`: `Response` (keep as code identifier) |
| 124 |
|
| 125 |
- deployment: déploiement |
| 126 |
- to upgrade: mettre à niveau |
| 127 |
|
| 128 |
- deprecated: déprécié |
| 129 |
- to deprecate: déprécier |
| 130 |
|
| 131 |
- cheat sheet: aide-mémoire |
| 132 |
- plug-in: plug-in |