Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🔨 Update translations script#13968

Merged
tiangolo merged 9 commits intofastapi:masterfrom
YuriiMotov:update-translations-prompt
Sep 20, 2025
Merged

🔨 Update translations script#13968
tiangolo merged 9 commits intofastapi:masterfrom
YuriiMotov:update-translations-prompt

Conversation

@YuriiMotov
Copy link
Member

@YuriiMotovYuriiMotov commentedAug 4, 2025
edited
Loading

  • Add the examples of how to handle code blocks to preserve the content from being translated
  • Add explicit encoding
  • Add instructions to generate fixed anchors for headers (tmp, needs more testing)
  • Apply changes from nilslindemann

svlandeg reacted with hooray emoji
YuriiMotovand others added2 commitsAugust 4, 2025 18:00
Otherwise it raises on my Windows, as it tries to use the system encoding, which is not utf-8.
Copy link
Contributor

@nilslindemannnilslindemann 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 requestAug 5, 2025
seefastapi@da9659bThis adds anchors to headings, so that links with hashes stay in the translation.
nilslindemann added a commit to nilslindemann/fastapi that referenced this pull requestAug 5, 2025
Before, it sometimes still wrapped the translation with "```markdown" and "```". Now not anymore.Yurii, If you agree with that change, please apply tofastapi#13968 (update-translations-prompt)
@nilslindemann
Copy link
Contributor

Hi Yurii, good addition! I tested with the recent German translations and it works great! Seehere (the commits from Aug 5).

@nilslindemann

This comment was marked as off-topic.

@YuriiMotovYuriiMotov marked this pull request as ready for reviewSeptember 5, 2025 05:27
Copy link
Contributor

@nilslindemannnilslindemann 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 requestSep 6, 2025
Let's handle these changes in another PR.Except the modifications in the prompt, this translate.py is now in sync with the translate.py in update-translations-prompt (fastapi#13968).
@nilslindemann
Copy link
Contributor

For the records, I made two more changes to the translate.py in the other PR, inthis andthis commit.

YuriiMotov reacted with thumbs up emoji

Copy link
Member

@tiangolotiangolo left a comment

Choose a reason for hiding this comment

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

Awesome, thank you@YuriiMotov and@nilslindemann! 🙌 🤖 🚀

nilslindemann reacted with rocket emoji
@tiangolotiangolo merged commit4c9c3b5 intofastapi:masterSep 20, 2025
29 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@tiangolotiangolotiangolo approved these changes

+1 more reviewer

@nilslindemannnilslindemannnilslindemann approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@YuriiMotov@nilslindemann@tiangolo

Comments


[8]ページ先頭

©2009-2026 Movatter.jp