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
158 .. function:: find(domain, localedir=None, languages=None, all=False)
162 *localedir* is as in :func:`bindtextdomain`. Optional *languages* is a list of
165 If *localedir* is not given, then the default system locale directory is used.
176 :file:`{localedir}/{language}/LC_MESSAGES/{domain}.mo`
184 .. function:: translation(domain, localedir=None, languages=None, class_=None, fallback=False, codeā¦
186 Return a :class:`*Translations` instance based on the *domain*, *localedir*,
212 .. function:: install(domain, localedir=None, codeset=None, names=None)
215 *domain*, *localedir*, and *codeset* which are passed to the function
486 cat = gettext.Catalog(domain, localedir)