Skip to content

Commit 6e639b8

Browse files
authored
Start German translation for Python interpreter documentation
1 parent a407c34 commit 6e639b8

1 file changed

Lines changed: 120 additions & 15 deletions

File tree

‎tutorial/interpreter.po‎

Lines changed: 120 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
# SOME DESCRIPTIVE TITLE.
1+
# German translation for Python documentation.
22
# Copyright (C) 2001 Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4+
# FIRST AUTHOR <142266608+sba72@users.noreply.github.com>, 2026.
55
#
66
# Translators:
77
# python-doc bot, 2025
88
#
9-
#, fuzzy
109
msgid ""
1110
msgstr ""
1211
"Project-Id-Version: Python 3.14\n"
1312
"Report-Msgid-Bugs-To: \n"
1413
"POT-Creation-Date: 2025-10-25 14:12+0000\n"
15-
"PO-Revision-Date: 2025-09-16 00:02+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
14+
"PO-Revision-Date: 2026-07-31 00:02+0000\n"
15+
"Last-Translator: <142266608+sba72@users.noreply.github.com>\n, 2026.
1716
"Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n"
1817
"MIME-Version: 1.0\n"
1918
"Content-Type: text/plain; charset=UTF-8\n"
@@ -22,27 +21,35 @@ msgstr ""
2221
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2322

2423
msgid "Using the Python Interpreter"
25-
msgstr ""
24+
msgstr "Verwendung des Python-Interpreters"
2625

2726
msgid "Invoking the Interpreter"
28-
msgstr ""
27+
msgstr "Aufrufen des Interpreters"
2928

3029
msgid ""
3130
"The Python interpreter is usually installed as |"
3231
"usr_local_bin_python_x_dot_y_literal| on those machines where it is "
3332
"available; putting :file:`/usr/local/bin` in your Unix shell's search path "
3433
"makes it possible to start it by typing the command:"
3534
msgstr ""
35+
"Auf Rechnern, auf denen der Python-Interpreter verfügbar ist, ist er "
36+
"üblicherweise unter |usr_local_bin_python_x_dot_y_literal| installiert. Wenn "
37+
"Sie :file:`/usr/local/bin` in den Suchpfad Ihrer Unix-Shell aufnehmen, "
38+
"können Sie ihn durch Eingabe des Befehls"
3639

3740
msgid "python3.14"
38-
msgstr ""
41+
msgstr "python3.14"
3942

4043
msgid ""
4144
"to the shell. [#]_ Since the choice of the directory where the interpreter "
4245
"lives is an installation option, other places are possible; check with your "
4346
"local Python guru or system administrator. (E.g., :file:`/usr/local/python` "
4447
"is a popular alternative location.)"
4548
msgstr ""
49+
"in der Shell starten. [#]_ Da der Ort, an dem der Interpreter liegt, eine "
50+
"Installationsoption ist, sind auch andere Pfade möglich; fragen Sie Ihren "
51+
"lokalen Python-Guru oder Systemadministrator. (Ein beliebter alternativer "
52+
"Ort ist z. B. :file:`/usr/local/python`.)"
4653

4754
msgid ""
4855
"On Windows machines where you have installed Python from the :ref:`Microsoft "
@@ -51,13 +58,23 @@ msgid ""
5158
"can use the :file:`py` command. See :ref:`setting-envvars` for other ways to "
5259
"launch Python."
5360
msgstr ""
61+
"Auf Windows-Rechnern, auf denen Sie Python aus dem :ref:`Microsoft Store "
62+
"<windows-store>` installiert haben, ist der Befehl "
63+
"|python_x_dot_y_literal| vorhanden. Wenn Sie den :ref:`py.exe Launcher "
64+
"<launcher>` installiert haben, können Sie den Befehl :file:`py` nutzen. "
65+
"Siehe :ref:`setting-envvars` für weitere Möglichkeiten, Python zu starten."
66+
5467

5568
msgid ""
5669
"Typing an end-of-file character (:kbd:`Control-D` on Unix, :kbd:`Control-Z` "
5770
"on Windows) at the primary prompt causes the interpreter to exit with a zero "
5871
"exit status. If that doesn't work, you can exit the interpreter by typing "
5972
"the following command: ``quit()``."
6073
msgstr ""
74+
"Wenn Sie an der primären Eingabeaufforderung das Dateiende-Zeichen "
75+
"(:kbd:`Control-D` unter Unix, :kbd:`Control-Z` unter Windows) eingeben, "
76+
"beendet sich der Interpreter mit dem Statuscode 0. Falls das nicht "
77+
"funktioniert, können Sie den Interpreter mit dem Befehl ``quit()`` beenden."
6178

6279
msgid ""
6380
"The interpreter's line-editing features include interactive editing, history "
@@ -70,13 +87,29 @@ msgid ""
7087
"echoed, command line editing isn't available; you'll only be able to use "
7188
"backspace to remove characters from the current line."
7289
msgstr ""
90+
"Zu den Funktionen des Interpreters für die Kommandozeilenbearbeitung gehören "
91+
"interaktives Bearbeiten, Befehlshistorie und Code-Vervollständigung auf "
92+
"Systemen, die die Bibliothek `GNU Readline <https://tiswww.case.edu/php/chet/"
93+
"readline/rltop.html>`_ unterstützen. Um schnell zu prüfen, ob die "
94+
"Kommandozeilenbearbeitung unterstützt wird, drücke am ersten "
95+
"Python-Prompt :kbd:`Control-P`. Wenn ein Signalton ertönt, ist die "
96+
"Kommandozeilenbearbeitung verfügbar. Anhang :ref:`tut-interacting` "
97+
"bietet eine Einführung in die Tastenbelegung. Wenn scheinbar nichts passiert "
98+
"oder wird ``^P`` ausgegeben, ist Kommandozeilenbearbeitung nicht verfügbar "
99+
"und du kannst dann nur die Rückschritttaste nutzen, um Zeichen aus der "
100+
"aktuellen Zeile zu löschen."
73101

74102
msgid ""
75103
"The interpreter operates somewhat like the Unix shell: when called with "
76104
"standard input connected to a tty device, it reads and executes commands "
77105
"interactively; when called with a file name argument or with a file as "
78106
"standard input, it reads and executes a *script* from that file."
79107
msgstr ""
108+
"Der Interpreter funktioniert ähnlich wie die Unix-Shell: Ist die "
109+
"Standardeingabe mit einem TTY-Gerät (Terminal) verbunden, liest und führt "
110+
"er Befehle interaktiv aus. Wird er hingegen mit einem Dateinamen als "
111+
"Argument oder einer Datei als Standardeingabe aufgerufen, liest und führt er "
112+
"ein *Skript* aus dieser Datei aus."
80113

81114
msgid ""
82115
"A second way of starting the interpreter is ``python -c command [arg] ...``, "
@@ -85,24 +118,36 @@ msgid ""
85118
"characters that are special to the shell, it is usually advised to quote "
86119
"*command* in its entirety."
87120
msgstr ""
121+
"Eine zweite Möglichkeit, den Interpreter zu starten, ist ``python -c "
122+
"Befehl [arg] ...``. Dies führt die Anweisung(en) in *Befehl* aus, analog "
123+
"zur Option :-option:`-c` der Shell. Da Python-Anweisungen häufig "
124+
"Leerzeichen oder andere Sonderzeichen der Shell enthalten, empfiehlt es "
125+
"sich in der Regel, *Befehl* vollständig in Anführungszeichen zu setzen."
88126

89127
msgid ""
90128
"Some Python modules are also useful as scripts. These can be invoked using "
91129
"``python -m module [arg] ...``, which executes the source file for *module* "
92130
"as if you had spelled out its full name on the command line."
93131
msgstr ""
132+
"Manche Python-Module sind auch als Skripte nützlich. Diese können über "
133+
"``python -m Modul [arg] ...`` aufgerufen werden, was die Quelldatei für "
134+
"*Modul* so ausführt, als hättest du ihren vollständigen Namen auf der "
135+
"Kommandozeile angegeben."
94136

95137
msgid ""
96138
"When a script file is used, it is sometimes useful to be able to run the "
97139
"script and enter interactive mode afterwards. This can be done by passing :"
98140
"option:`-i` before the script."
99141
msgstr ""
142+
"Wenn eine Skriptdatei verwendet wird, ist es manchmal nützlich, das Skript "
143+
"auszuführen und danach in den interaktiven Modus zu wechseln. Dazu kannst "
144+
"du :option:`-i` vor dem Skript übergeben."
100145

101146
msgid "All command line options are described in :ref:`using-on-general`."
102-
msgstr ""
147+
msgstr "Alle Kommandozeilen-Optionen sind in :ref:`using-on-general` beschrieben."
103148

104149
msgid "Argument Passing"
105-
msgstr ""
150+
msgstr "Argumentübergabe"
106151

107152
msgid ""
108153
"When known to the interpreter, the script name and additional arguments "
@@ -118,9 +163,22 @@ msgid ""
118163
"interpreter's option processing but left in ``sys.argv`` for the command or "
119164
"module to handle."
120165
msgstr ""
166+
"Sind dem Interpreter der Skriptname und die nachfolgenden Argumente bekannt, "
167+
"werden sie in eine Liste von Zeichenketten umgewandelt und der Variablen "
168+
"``argv`` im Modul ``sys`` zugewiesen. Du kannst auf diese Liste zugreifen, "
169+
"indem du ``import sys`` ausführst. Die Länge der Liste beträgt mindestens "
170+
"eins. Werden weder ein Skript noch Argumente angegeben, ist ``sys.argv[0]`` "
171+
"eine leere Zeichenkette. Wird der Skriptname als ``'-'`` angegeben (was "
172+
"Standardeingabe bedeutet), wird ``sys.argv[0]`` auf ``'-'`` gesetzt. Wird :"
173+
"option:`-c` *Befehl* verwendet, wird ``sys.argv[0]`` auf ``'-c'`` gesetzt. "
174+
"Wird :option:`-m` *Modul* verwendet, wird ``sys.argv[0]`` auf den "
175+
"vollständigen Namen des gefundenen Moduls gesetzt. Optionen nach :option:`-c` "
176+
"*Befehl* oder :option:`-m` *Modul* werden nicht von der Optionenverarbeitung "
177+
"des Python-Interpreters verbraucht, sondern in ``sys.argv`` belassen, damit "
178+
"der Befehl oder das Modul sie verarbeiten kann."
121179

122180
msgid "Interactive Mode"
123-
msgstr ""
181+
msgstr "Interaktiver Modus"
124182

125183
msgid ""
126184
"When commands are read from a tty, the interpreter is said to be in "
@@ -130,6 +188,13 @@ msgid ""
130188
"dots (``...``). The interpreter prints a welcome message stating its version "
131189
"number and a copyright notice before printing the first prompt:"
132190
msgstr ""
191+
"Werden Befehle über ein TTY-Gerät (Terminal) gelesen, befindet sich der "
192+
"Interpreter im *interaktiven Modus*. In diesem Modus fordert er mit dem "
193+
"*primären Prompt* zur Eingabe des nächsten Befehls auf, gewöhnlich drei "
194+
"Größer-als-Zeichen (``>>>``). Für Fortsetzungszeilen fordert er mit dem "
195+
"*sekundären Prompt* auf, standardmäßig drei Punkte (``...``). Der "
196+
"Interpreter gibt eine Begrüßungsmeldung mit seiner Versionsnummer und "
197+
"einem Urheberrechtshinweis aus, bevor er den ersten Prompt anzeigt:"
133198

134199
msgid ""
135200
"$ python3.14\n"
@@ -139,11 +204,19 @@ msgid ""
139204
"information.\n"
140205
">>>"
141206
msgstr ""
207+
"$ python3.14\n"
208+
"Python 3.14 (default, April 4 2024, 09:25:04)\n"
209+
"[GCC 10.2.0] on linux\n"
210+
"Type \"help\", \"copyright\", \"credits\" or \"license\" for more "
211+
"information.\n"
212+
">>>"
142213

143214
msgid ""
144215
"Continuation lines are needed when entering a multi-line construct. As an "
145216
"example, take a look at this :keyword:`if` statement::"
146217
msgstr ""
218+
"Fortsetzungszeilen sind erforderlich, wenn du eine mehrzeilige Anweisung "
219+
"eingibst. Sieh dir als Beispiel diese :keyword:`if`-Anweisung an::"
147220

148221
msgid ""
149222
">>> the_world_is_flat = True\n"
@@ -152,15 +225,23 @@ msgid ""
152225
"...\n"
153226
"Be careful not to fall off!"
154227
msgstr ""
228+
">>> the_world_is_flat = True\n"
229+
">>> if the_world_is_flat:\n"
230+
"... print(\"Be careful not to fall off!\")\n"
231+
"...\n"
232+
"Be careful not to fall off!"
155233

156234
msgid "For more on interactive mode, see :ref:`tut-interac`."
157235
msgstr ""
236+
"Weitere Informationen zum interaktiven Modus findest du unter "
237+
":ref:`tut-interac`."
238+
158239

159240
msgid "The Interpreter and Its Environment"
160-
msgstr ""
241+
msgstr "Der Interpreter und seine Umgebung"
161242

162243
msgid "Source Code Encoding"
163-
msgstr ""
244+
msgstr "Quelltext-Codierung"
164245

165246
msgid ""
166247
"By default, Python source files are treated as encoded in UTF-8. In that "
@@ -171,36 +252,57 @@ msgid ""
171252
"properly, your editor must recognize that the file is UTF-8, and it must use "
172253
"a font that supports all the characters in the file."
173254
msgstr ""
255+
"Standardmäßig werden Python-Quelldateien als UTF-8-codiert behandelt. In dieser "
256+
"Codierung können Zeichen der meisten Sprachen der Welt gleichzeitig in "
257+
"String-Literalen, Bezeichnern und Kommentaren verwendet werden. Die "
258+
"Standardbibliothek nutzt allerdings nur ASCII-Zeichen für Bezeichner, eine "
259+
"Konvention, der jeder übertragbare Code folgen sollte. Um all diese Zeichen "
260+
"korrekt anzuzeigen, muss dein Editor erkennen, dass die Datei in UTF-8 "
261+
"vorliegt, und eine Schriftart verwenden, die alle Zeichen in der Datei "
262+
"unterstützt."
174263

175264
msgid ""
176265
"To declare an encoding other than the default one, a special comment line "
177266
"should be added as the *first* line of the file. The syntax is as follows::"
178267
msgstr ""
268+
"Um eine andere als die Standardcodierung anzugeben, sollte eine spezielle "
269+
"Kommentarzeile als *erste* Zeile der Datei eingefügt werden. Die Syntax sieht "
270+
"wie folgt aus::"
179271

180272
msgid "# -*- coding: encoding -*-"
181-
msgstr ""
273+
msgstr "# -*- coding: encoding -*-"
182274

183275
msgid "where *encoding* is one of the valid :mod:`codecs` supported by Python."
184276
msgstr ""
277+
"wobei *encoding* eine der gültigen, von Python unterstützten "
278+
":mod:`codecs` ist."
185279

186280
msgid ""
187281
"For example, to declare that Windows-1252 encoding is to be used, the first "
188282
"line of your source code file should be::"
189283
msgstr ""
284+
"Um beispielsweise anzugeben, dass die Windows-1252-Codierung verwendet "
285+
"wird, sollte die erste Zeile deiner Quelltext-Datei wie folgt aussehen::"
190286

191287
msgid "# -*- coding: cp1252 -*-"
192-
msgstr ""
288+
msgstr "# -*- coding: cp1252 -*-"
193289

194290
msgid ""
195291
"One exception to the *first line* rule is when the source code starts with "
196292
"a :ref:`UNIX \"shebang\" line <tut-scripts>`. In this case, the encoding "
197293
"declaration should be added as the second line of the file. For example::"
198294
msgstr ""
295+
"Eine Ausnahme von der Regel für die *erste Zeile* gilt, wenn der Quelltext mit "
296+
"einer :ref:`UNIX-\"Shebang\"-Zeile <tut-scripts>` beginnt. In diesem Fall "
297+
"sollte die Codierungsdeklaration als zweite Zeile der Datei eingefügt werden. "
298+
"Zum Beispiel::"
199299

200300
msgid ""
201301
"#!/usr/bin/env python3\n"
202302
"# -*- coding: cp1252 -*-"
203303
msgstr ""
304+
"#!/usr/bin/env python3\n"
305+
"# -*- coding: cp1252 -*-"
204306

205307
msgid "Footnotes"
206308
msgstr "Fußnoten"
@@ -210,3 +312,6 @@ msgid ""
210312
"executable named ``python``, so that it does not conflict with a "
211313
"simultaneously installed Python 2.x executable."
212314
msgstr ""
315+
"Unter Unix wird der Python-3.x-Interpreter standardmäßig nicht unter dem "
316+
"Namen ``python`` installiert, damit er nicht mit einer gleichzeitig "
317+
"installierten Python-2.x-Datei kollidiert."

0 commit comments

Comments
 (0)