Lines Matching refs:localedir
461 def find(domain, localedir=None, languages=None, all=False): argument
463 if localedir is None:
464 localedir = _default_localedir
488 mofile = os.path.join(localedir, lang, 'LC_MESSAGES', '%s.mo' % domain)
501 def translation(domain, localedir=None, languages=None, argument
505 mofiles = find(domain, localedir, languages, all=True)
532 def install(domain, localedir=None, codeset=None, names=None): argument
533 t = translation(domain, localedir, fallback=True, codeset=codeset)
553 def bindtextdomain(domain, localedir=None): argument
555 if localedir is not None:
556 _localedirs[domain] = localedir