I want my application to be i18n enabled. So, in my project directory I
ran: make-messages -l nl. Before this I created the conf/locale
directory in projectdirectory.
This all worked just fine. Compilation also worked fine.
In my settings file I have put:
LANGUAGE_CODE = "nl"
LANGUAGES = (
('en', _('English')),
('nl', _('Dutch')),
)
MIDDLEWARE_CLASSES = (
"django.middleware.sessions.SessionMiddleware",
"django.middleware.locale.LocaleMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.gzip.GZipMiddleware",
)
I have only mentioned the relevant parts of the settings file.
Now using Firefox 1.5 I browse to my application. But, I can not see
any translations. I have set the language I want (nl) in the
preferences of Firefox as my first language. As a test I browse to the
Django Administration site and it is in Dutch! Perfect. But, my own
application is still in English. No Dutch.
What I am missing? Does anybody have any ideas how to solve this?
Thanks.