Blog Archive for June 17, 2011

Translating Templates with Django

June 17, 2011

I want to look into translating one of my Django websites into Norwegian. Here's the steps I took to translate one of the templates.

Settings

As I'm only providing translation for Norwegian, I set the following in my settings.py file:

LANGUAGE_CODE = 'en-gb'

LANGUAGES = (
  ('nb', 'Norwegian …