Blog Archive

Tuesday, 11 June 2013

Django localization settings

This examle shows all the settings that you need to put in your settings file in order to have the Django 1.5 to run in russian language.

ugettext = lambda s: s
    ('ru', 'Russian'),
    PROJECT_PATH+'/locale', #this is the place where the language files stored

If any of these missing, it will not work