Lines Matching refs:localedir
36 .. function:: bindtextdomain(domain[, localedir])
38 Bind the *domain* to the locale directory *localedir*. More concretely,
40 the path (on Unix): :file:`localedir/language/LC_MESSAGES/domain.mo`, where
44 If *localedir* is omitted or ``None``, then the current binding for *domain* is
159 .. function:: find(domain[, localedir[, languages[, all]]])
163 *localedir* is as in :func:`bindtextdomain` Optional *languages* is a list of
166 If *localedir* is not given, then the default system locale directory is used.
177 :file:`localedir/language/LC_MESSAGES/domain.mo`
185 .. function:: translation(domain[, localedir[, languages[, class_[, fallback[, codeset]]]]])
187 Return a :class:`Translations` instance based on the *domain*, *localedir*, and
208 .. function:: install(domain[, localedir[, unicode [, codeset[, names]]]])
211 *domain*, *localedir*, and *codeset* which are passed to the function
499 cat = gettext.Catalog(domain, localedir)