Lines Matching refs:localedir
542 def find(domain, localedir=None, languages=None, all=False): argument
544 if localedir is None:
545 localedir = _default_localedir
569 mofile = os.path.join(localedir, lang, 'LC_MESSAGES', '%s.mo' % domain)
583 def translation(domain, localedir=None, languages=None, argument
587 mofiles = find(domain, localedir, languages, all=True)
626 def install(domain, localedir=None, codeset=_unspecified, names=None): argument
627 t = translation(domain, localedir, fallback=True, codeset=codeset)
647 def bindtextdomain(domain, localedir=None): argument
649 if localedir is not None:
650 _localedirs[domain] = localedir