Lines Matching refs:localedir
474 def find(domain, localedir=None, languages=None, all=False): argument
476 if localedir is None:
477 localedir = _default_localedir
501 mofile = os.path.join(localedir, lang, 'LC_MESSAGES', '%s.mo' % domain)
514 def translation(domain, localedir=None, languages=None, argument
518 mofiles = find(domain, localedir, languages, all=True)
550 def install(domain, localedir=None, codeset=None, names=None): argument
551 t = translation(domain, localedir, fallback=True, codeset=codeset)
571 def bindtextdomain(domain, localedir=None): argument
573 if localedir is not None:
574 _localedirs[domain] = localedir