Lines Matching refs:localedir
497 def find(domain, localedir=None, languages=None, all=0): argument
499 if localedir is None:
500 localedir = _default_localedir
524 mofile = os.path.join(localedir, lang, 'LC_MESSAGES', '%s.mo' % domain)
537 def translation(domain, localedir=None, languages=None, argument
541 mofiles = find(domain, localedir, languages, all=1)
568 def install(domain, localedir=None, unicode=False, codeset=None, names=None): argument
569 t = translation(domain, localedir, fallback=True, codeset=codeset)
589 def bindtextdomain(domain, localedir=None): argument
591 if localedir is not None:
592 _localedirs[domain] = localedir