📝 Fix and Improve English Documentation#14048
Merged
tiangolo merged 12 commits intofastapi:masterfrom Sep 20, 2025
Merged
Conversation
The LLM prompt looks for this format when it is a full phrase for an abbreviation followed by some other information. It will then translate the title attribute using the scheme:
`{full phrase}: {information}` --> `{full phrase} – {translation of full phrase}: {translation of information}`
Using a comma instead of the colon matches title attributes which fit not into that category, which confuses the LLM.
I guess this was overlooked in a removal.
We should use neutral single or double quotes ('...' or "...") when translation is desired and otherwise backticks (`...`).
It alkso links there in `tutorial/request-files.md`.
This comment was marked as outdated.
This comment was marked as outdated.
nilslindemann
added a commit
to nilslindemann/fastapi
that referenced
this pull request
Sep 6, 2025
These changes are now handled in fixes-in-english-docs (fastapi#14048).
... which I forgot/overlooked Co-Authored-By: Motov Yurii <[email protected]>
... found while retranslating the German docs. See also earlier commit 506f773
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Contributor
tiangolo
approved these changes
Sep 20, 2025
Member
tiangolo
left a comment
There was a problem hiding this comment.
Niceee! This is great, thank you! 🔍 🚀
Contributor
Author
|
Ditto, thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These are fixes I found / changes I made when doing #14015, including improvements by Yurii.