diff --git a/docs/de/docs/how-to/testing-database.md b/docs/de/docs/how-to/testing-database.md index feead66b5..1a6095e53 100644 --- a/docs/de/docs/how-to/testing-database.md +++ b/docs/de/docs/how-to/testing-database.md @@ -1,4 +1,4 @@ -# Testen einer Datenbank +# Eine Datenbank testen { #testing-a-database } Sie können sich über Datenbanken, SQL und SQLModel in der SQLModel-Dokumentation informieren. 🤓 diff --git a/scripts/translate.py b/scripts/translate.py index 68af4cec8..fffc87ecb 100644 --- a/scripts/translate.py +++ b/scripts/translate.py @@ -130,7 +130,19 @@ Result (German): [Eines der schnellsten verfügbaren Python-Frameworks](#performance) -2) For absolute URLs pointing to https://fastapi.tiangolo.com, only translate link text and change the URL by adding language code (https://fastapi.tiangolo.com/{language_code}[rest part of the url]). +2) For absolute URLs which DO NOT start EXACTLY with "https://fastapi.tiangolo.com", only translate link text and leave the URL unchanged. + +Example: + +Source (English): + +SQLModel docs + +Result (German): + +SQLModel-Dokumentation + +3) For absolute URLs which DO start EXACTLY with "https://fastapi.tiangolo.com", only translate link text and change the URL by adding language code (https://fastapi.tiangolo.com/{language_code}[rest part of the url]). Example: @@ -142,7 +154,7 @@ Result (Spanish): Documentación -2.1) Do not add language codes for URLs that point to static assets (e.g., images, CSS, JavaScript). +3.1) Do not add language codes for URLs that point to static assets (e.g., images, CSS, JavaScript). Example: @@ -155,7 +167,7 @@ Result (Spanish): Algo -3) For internal links, only translate link text. +4) For internal links, only translate link text. Example: @@ -167,7 +179,7 @@ Result (German): [Pull Requests erzeugen](help-fastapi.md#create-a-pull-request){.internal-link target=_blank} -4) Do not translate anchor fragments in links (the part after #), as they must remain the same to work correctly. +5) Do not translate anchor fragments in links (the part after #), as they must remain the same to work correctly. """