Re: Help with localization [SOLVED]

2010-07-26 Thread Martin Tiršel
On Mon, 26 Jul 2010 03:46:10 +0200, Lachlan Musicman wrote: On Mon, Jul 26, 2010 at 11:16, Martin Tiršel wrote: Gah, my eyes were closed. Have you also added the appropriate Middleware product? As you see here: http://docs.djangoproject.com/en/dev/topics/i18n/deployment/#topics-i18n-depl

Re: Help with localization

2010-07-25 Thread Lachlan Musicman
On Mon, Jul 26, 2010 at 11:16, Martin Tiršel wrote: > * userproject/settings.py: > LANGUAGE_CODE = 'sk' > > LANGUAGES = ( >('en', 'English'), >('sk', 'Slovensky'), > ) > USE_I18N = True > USE_L10N = True > Gah, my eyes were closed. Have you also added the appropriate Middleware product?

Re: Help with localization

2010-07-25 Thread Lachlan Musicman
I have L10n working, and the set up is almost the same. I also have, in settings.py the following: LOCALE_PATH = ( os.path.join(PROJECT_DIR, "myapp/locale"), ) > * locale/sk/LC_MESSAGES/django.po: > ... > #: forms.py:7 > msgid "Your name" > msgstr "Vaše meno" > ... > > Confirm which ve

Help with localization

2010-07-25 Thread Martin Tiršel
Hello, I can not get my translation working. Structure: * minicms - CMS project * userproject - project using minicms - minicms |-plugins ||-contactform |||-locale |||-templatetags |||-forms.py * forms.py: # -*- coding: utf-8 -*- from django import forms from django.utils.translation import u