I have solved this problem myself.
I have to declare the following variable:
LANGUAGES = (
('de', 'German (Deutsch)'),
('en', 'English'),
)
And then include the middleware
"django.middleware.locale.LocaleMiddleware"
On Aug 18, 11:20 am, stanleyxu2005 wrote:
> Hi All,
>
> after reading th
Hi All,
after reading the django documentation, I still have problem with
changing a language.
I have create two languages: en_US and de_DE
If I declare LANGUAGE_CODE='de_DE' in settings.py (without the
middleware django.middleware.locale.LocaleMiddleware), my project will
be translated into Ger
2 matches
Mail list logo