Commit 2014c033 authored by Johannes Gijsbers's avatar Johannes Gijsbers

Patch #1022152: add required 'domain' argument to gettext.translation() examples.

parent d345225a
......@@ -632,9 +632,9 @@ between them explicitly, like so:
\begin{verbatim}
import gettext
lang1 = gettext.translation(languages=['en'])
lang2 = gettext.translation(languages=['fr'])
lang3 = gettext.translation(languages=['de'])
lang1 = gettext.translation('myapplication', languages=['en'])
lang2 = gettext.translation('myapplication', languages=['fr'])
lang3 = gettext.translation('myapplication', languages=['de'])
# start by using language1
lang1.install()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment