Skip to content

🌐 Fix typos in Spanish LLM-prompt#15472

Merged
YuriiMotov merged 5 commits into
fastapi:masterfrom
crr004:patch-2
May 5, 2026
Merged

🌐 Fix typos in Spanish LLM-prompt#15472
YuriiMotov merged 5 commits into
fastapi:masterfrom
crr004:patch-2

Conversation

@crr004
Copy link
Copy Markdown
Contributor

@crr004 crr004 commented May 1, 2026

Added some new technical terms to Spanish LLM prompt.

UPD YuriiMotov: removed new terms as we discussed in the comments. So, this PR just fixes a couple of typos

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

📝 Docs preview

Last commit 9d6c3b9 at: https://fb18e5ca.fastapitiangolo.pages.dev

Comment thread docs/es/llm-prompt.md Outdated
Updated translation for 'deploy' and 'deployment' to be consistent.
Copy link
Copy Markdown
Contributor Author

@crr004 crr004 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed with proposed changes.

@YuriiMotov YuriiMotov added lang-all Translations lang-es Spanish translations labels May 4, 2026
@YuriiMotov YuriiMotov changed the title Add new technical terms to Spanish documentation 🌐 Add new technical terms to Spanish LLM-prompt and fix typos May 4, 2026
Comment thread docs/es/llm-prompt.md Outdated
Comment on lines +100 to +112
* endpoint: endpoint (do not translate to "punto final")
* middleware: middleware (do not translate to "software intermedio")
* handler: handler (do not translate to "manejador")
* payload: payload
* runtime: runtime
* deploy: desplegar
* deployment: despliegue
* logging: logging
* traceback: traceback
* decorator: decorador
* dependency injection: inyección de dependencias
* background task: background task
* WebSocket: WebSocket
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Giving it a quick check, I don't see anywhere in the docs where it uses "punto final" or "software intermedio", it seems to always use the correct terms already.

Did you find places where it was using the wrong term?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. I haven't found those exact errors in the docs. I just added them cause they are the literal translations in Spanish and thought it would be useful. I didn't know the "do not translate..." part must only be added when a previous error is spotted.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think (do not translate to XXX) is for common mistakes (when LLM incorrectly translates this term to XXX).
If the idea is to ensure consistency, we can shorten it to (do not translate).
But, it doesn't make sense to add all possible terms to this list. We should only add those that have several common translations and we prefer to use only one (or two) of them.
In general, the smaller prompt - the better (if it gives good results off course).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Giving it a second thought, you are totally right. I added some typical technical terms that are commonly used in the documentation, but not because I found any mistakes in the current documentation. It is true that, taking this premise, we could add infinite terms and degrade the prompt.

Taking what you said, maybe the PR should not be merged. I'll try to add more useful terms in the future :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the new terms and will merge only typo fixes.
Thanks!

Comment thread docs/es/llm-prompt.md Outdated
@YuriiMotov YuriiMotov changed the title 🌐 Add new technical terms to Spanish LLM-prompt and fix typos 🌐 Fix typos in Spanish LLM-prompt May 5, 2026
@YuriiMotov YuriiMotov merged commit f8cbeab into fastapi:master May 5, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang-all Translations lang-es Spanish translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants