Tuesday, August 10, 2010

Re: Translation

my settings.py:

LANGUAGE_CODE = 'uk'

#multilingual

LANGUAGES = (

('en', 'English'),

('ru', 'Russian'),

('uk', 'Ukrainian'),

)


I've created under myproject/locale folder two translations uk and ru
and translated with rosetta.
I reloaded web server and browser.

Nothing happened. I see English default language still.

On Aug 10, 4:14 pm, cootetom <coote...@gmail.com> wrote:
> Have a read about how Django chooses the language to display herehttp://docs.djangoproject.com/en/1.1/topics/i18n/deployment/#how-djan...
>
> Also have a read about how you can change the user's language
> preference on the site herehttp://docs.djangoproject.com/en/1.1/topics/i18n/internationalization...
>
> On Aug 10, 2:01 pm, kostia <kostya.demc...@gmail.com> wrote:
>
> > I used rosetta to translate strings. How can I switch language of my
> > site and see the result?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
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