Fueled / django-init

Project template used at Fueled for scaffolding new Django based projects. :dizzy:
Other
189 stars 46 forks source link

Add LocaleMiddleware in settings to add multi-language support #310

Closed CuriousLearner closed 6 years ago

CuriousLearner commented 6 years ago

Why was this change necessary?

Other parameters for supporting translation and internationalization are already there in the settings. But for multilingual support, LocaleMiddleware is needed to convert the response in the requested language.

How does it address the problem?

LocaleMiddleware is needed to convert the response in the requested language.

Are there any side effects?

None.

theskumar commented 6 years ago

Lood good to me! Thanks.