Part of bzrlib
| Function | gettext | Translate message. |
| Function | ngettext | Translate message with plural forms based on number. |
| Function | N_ | Mark message for translation but don't translate it right away. |
| Function | gettext_per_paragraph | Translate message per paragraph. |
| Function | disable_i18n | Do not allow i18n to be enabled. Useful for third party users |
| Function | installed | Returns whether translations are in use or not. |
| Function | install | Enables gettext translations in bzr. |
| Function | install_translations | Create a gettext translation object. |
| Function | add_fallback | Add a fallback translations object. Typically used by plugins. |
| Function | uninstall | Disables gettext translations. |
| Function | load_plugin_translations | Load the translations for a specific plugin. |
| Function | _get_locale_dir | Returns directory to find .mo translations file in, either local or system |
| Function | _check_win32_locale | Undocumented |
| Function | _get_current_locale | Undocumented |
number.| Parameters | singular | English language message in singular form |
| plural | English language message in plural form | |
| number | the number this message should be translated for | |
| Returns | translated message as unicode. | |
| Returns | concatenated translated message as unicode. | |
| Parameters | lang | language to install. |
| domain | translation domain to install. | |
| locale_base | plugins can specify their own directory. | |
| Returns | a gettext translations object to use | |
| Parameters | fallback | gettext.GNUTranslations object |