def set_locale_info(domain, localedir):
 global _DOMAIN, _LOCALEDIR
 _DOMAIN = domain
 _LOCALEDIR = localedir

def set_locale_info ( domain , localedir ) : global _DOMAIN , _LOCALEDIR _DOMAIN = domain _LOCALEDIR = localedir
setup the domain and localedir for translations .