Lines Matching refs:localedir
37 .. function:: bindtextdomain(domain, localedir=None)
39 Bind the *domain* to the locale directory *localedir*. More concretely,
41 the path (on Unix): :file:`localedir/language/LC_MESSAGES/domain.mo`, where
45 If *localedir* is omitted or ``None``, then the current binding for *domain* is
145 .. function:: find(domain, localedir=None, languages=None, all=False)
149 *localedir* is as in :func:`bindtextdomain` Optional *languages* is a list of
152 If *localedir* is not given, then the default system locale directory is used.
163 :file:`{localedir}/{language}/LC_MESSAGES/{domain}.mo`
171 .. function:: translation(domain, localedir=None, languages=None, class_=None, fallback=False, code…
173 Return a :class:`Translations` instance based on the *domain*, *localedir*,
196 .. function:: install(domain, localedir=None, codeset=None, names=None)
199 *domain*, *localedir*, and *codeset* which are passed to the function
414 cat = gettext.Catalog(domain, localedir)