Skip to content

📝 Add documentation for non-translated pages and scripts to verify them#12020

Merged
tiangolo merged 5 commits into
masterfrom
lang-reference
Aug 14, 2024
Merged

📝 Add documentation for non-translated pages and scripts to verify them#12020
tiangolo merged 5 commits into
masterfrom
lang-reference

Conversation

@tiangolo

@tiangolo tiangolo commented Aug 14, 2024

Copy link
Copy Markdown
Member

📝 Add documentation for non-translated pages and scripts to verify them


I realized that, for some pages, the benefit of having some translations is less beneficial than having only the original in English, because the original can change frequently, or the content is mainly injected data from external files. In those cases, the actual content translated is small, but the structure and how the data is injected can get obsolete quickly.

Also in the reference, most of the content is injected from the FastAPI source files, so, the translations are only for a small introduction at the top, but the rest of the content stays in English. And if there were new sections in the reference, those would not be visible in the translations, although the content is almost the same, all in English.

This also means that if the sections of injected data change, those translations become obsolete.

There are also sections that are mainly relevant for the internal team, or about how the project is managed, and having the most recent and precise information is more important than having it in multiple languages (that could get behind).

@github-actions github-actions Bot added the docs Documentation about how to use FastAPI label Aug 14, 2024
@tiangolo tiangolo changed the title 📝 Update docs for translations, don't translate some sections 📝 Add documentation for non-translated pages and scripts to verify them Aug 14, 2024
@github-actions

Copy link
Copy Markdown
Contributor

📝 Docs preview for commit a5a7ec2 at: https://ea412449.fastapitiangolo.pages.dev

Modified Pages

@tiangolo tiangolo marked this pull request as ready for review August 14, 2024 22:56
@tiangolo tiangolo merged commit 85bd406 into master Aug 14, 2024
@tiangolo tiangolo deleted the lang-reference branch August 14, 2024 22:57
s-rigaud pushed a commit to s-rigaud/fastapi that referenced this pull request Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation about how to use FastAPI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant