Skip to content

Commit

Permalink
Issue3950: Fix docs for default locale used by gettext to match imple…
Browse files Browse the repository at this point in the history
…mentation (GH-18435)

documentation for default locale directory Doc/library/gettext.rst changed to match gettext implementation line 63.
(cherry picked from commit d68e0a8)

Co-authored-by: Carl <Carl-Ty@users.noreply.github.com>
  • Loading branch information
miss-islington and Carl-ty committed Feb 10, 2020
1 parent b086ea5 commit a83d910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/gettext.rst
Expand Up @@ -724,8 +724,8 @@ implementations, and valuable experience to the creation of this module:
.. [#] The default locale directory is system dependent; for example, on RedHat Linux
it is :file:`/usr/share/locale`, but on Solaris it is :file:`/usr/lib/locale`.
The :mod:`gettext` module does not try to support these system dependent
defaults; instead its default is :file:`{sys.prefix}/share/locale` (see
:data:`sys.prefix`). For this reason, it is always best to call
defaults; instead its default is :file:`{sys.base_prefix}/share/locale` (see
:data:`sys.base_prefix`). For this reason, it is always best to call
:func:`bindtextdomain` with an explicit absolute path at the start of your
application.
Expand Down

0 comments on commit a83d910

Please sign in to comment.