Menerima Jasa Pembuatan Website Django & Wordpress (klik disini)

Hello guys, this day I want to share a simply tutorial how to fix CommandError: Unable to find a locale path to store translations for file <app_name>/ for Django 1.10

In my previous LOCALE_PATHS inside file of is like this:

    os.path.join(BASE_DIR, 'projectname/locale'),

This should an error if you work under Django>=1.10.5, because as docs says, LOCALE_PATHS is a list, an not tupe.

    os.path.join(BASE_DIR, 'projectname/locale'),

Hope it usefull..

multi languages django internationalization settings solution

Your Answer

blog comments powered by Disqus