Skip to content

🌐 Add German LLM prompt file#13931

Closed
tiangolo wants to merge 5 commits intomasterfrom
de-prompt
Closed

🌐 Add German LLM prompt file#13931
tiangolo wants to merge 5 commits intomasterfrom
de-prompt

Conversation

@tiangolo
Copy link
Member

@tiangolo tiangolo commented Jul 26, 2025

🌐 Add German LLM prompt file

These are the German specific instructions/prompt for the LLM when translating to German.

Taken and adapted from @nilslindemann translation notes here: #10369

This is used in #13929 and #13930

This LLM prompt file is used in https://github.com/fastapi/fastapi/blob/master/scripts/translate.py

@github-actions
Copy link
Contributor

nilslindemann pushed a commit to nilslindemann/fastapi that referenced this pull request Aug 4, 2025
nilslindemann added a commit to nilslindemann/fastapi that referenced this pull request Aug 4, 2025
* Add some general commands at the top
* Add some examples to the middle, remove the <abbr> part,too complex
* Reduce the wordlist at the bottom, removing obvious words which the AI translates well on its own.

You may apply this to fastapi#13931
* Add some general commands at the top
* Add some examples to the middle, remove the <abbr> part,too complex
* Reduce the wordlist at the bottom, removing obvious words which the AI translates well on its own.

You may apply this to #13931
@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2025

@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2025

Copy link
Contributor

@nilslindemann nilslindemann left a comment

Choose a reason for hiding this comment

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

Good 👍

nilslindemann added a commit to nilslindemann/fastapi that referenced this pull request Aug 5, 2025
So that they are in sync with Yuriis changes. Otherwise the rules in the German prompt seem to overwrite that behavior and it does not work.

Also added a term.

Please apply to fastapi#13931 (de-prompt).
@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@nilslindemann
Copy link
Contributor

nilslindemann commented Sep 5, 2025

#13931 (this one), #13929, and #13930 can be closed, as I have applied them in #14015 and their changes will be committed when that one is committed. Also, I have resolved merge conflicts there already.

@svlandeg svlandeg closed this Sep 12, 2025
@tiangolo tiangolo deleted the de-prompt branch September 20, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved-1 lang-all Translations lang-de German translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants