Closed mozgsml closed 1 month ago
Should we add "domain" parameter to BabelLoader init function?
It helps to use third party translates, for example django.
def __init__(self, translations_directory: str, domain: str='messages') : ... for dir_name in os.listdir(translations_directory): locale = Locale.parse(dir_name) self.translations[str(locale)] = Translations.load( translations_directory, [locale], domain=domain )
Hello @mozgsml Yes, good point, I will add it to the next release, thank you 👍
@mozgsml If you have any other additions, please let me know
Should we add "domain" parameter to BabelLoader init function?
It helps to use third party translates, for example django.