Skip to content

Commit

Permalink
Merge pull request Pylons#1438 from stevepiercy/master
Browse files Browse the repository at this point in the history
- add Translation Context term to Glossary to allow Sphinx to build docs...
  • Loading branch information
stevepiercy committed Nov 9, 2014
2 parents 70eb3fe + 2a079b5 commit cb5b078
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/glossary.rst
Expand Up @@ -749,9 +749,16 @@ Glossary
made. For example the word "java" might be translated
differently if the translation domain is "programming-languages"
than would be if the translation domain was "coffee". A
translation domain is represnted by a collection of ``.mo`` files
translation domain is represented by a collection of ``.mo`` files
within one or more :term:`translation directory` directories.

Translation Context
A string representing the "context" in which a translation was
made within a given :term:`translation domain`. See the gettext
documentation, `11.2.5 Using contexts for solving ambiguities
<https://www.gnu.org/software/gettext/manual/gettext.html#Contexts>`_
for more information.

Translator
A callable which receives a :term:`translation string` and returns a
translated Unicode object for the purposes of internationalization. A
Expand Down

0 comments on commit cb5b078

Please sign in to comment.