django-admin makemessages -l de
hello,
I use django starterkit. I want to had german language.
So i try the command : django-admin makemessages -l de
But, i have the error :
Unable to find a locale path to store translations for file _keenthemes\__init__.py. Make sure the 'locale' directory exists in an app or LOCALE_PATHS setting is set.
I try on root folder, under _keenthemes.
I seems to work under _locale because i have no error...but nothing happen !
i haven't change inithing in settings.py :
LOCALE_PATHS = [
os.path.join(BASE_DIR, '_locale'),
]
thank for your help
regards
Replies (5)
You're welcome! If you have any more questions in the future, feel free to ask.
Hi,
Sorry for the delay. It seems that renaming the _locale folder to just locale resolved the issue, and subsequently updating the os.path.join(BASE_DIR, 'locale') worked successfully.
Thanks
Hi,
Sorry for the delay. We are still checking on this issue. The _locale is there but the language file generator seems not to find it properly.
Thanks
