Wednesday, March 7, 2012

Template filters and translations to russian language

Hi,

I am developing a website in russian and the original is in english. We are using the po file to translate the strings.

My problem now is that when I use template filters, for example date or localnaturalday the translations do not appear. Everything appears in english.
However, if I change the LANGUAGE_CODE from 'ru' to 'de_DE' everything appears correctly in german.

My settings are:

LANGUAGES = (('ru', 'Russian'), ('en_US', 'English'))
LANGUAGE_CODE = 'ru'

What am I missing here?

Thanks for the help.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/kcXLJCgXu_4J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate