I am trying to view my site in japanese. I have create the translations and 
compiled them with compilemessages.

In my urls.py I have 

urlpatterns = i18n_patterns('',
    #...)


Settings.py


LANGUAGE_CODE = 'en-us'
#Used for translationsgettext = lambda s: sLANGUAGES = (
    ('en', gettext('English')),
    ('jp', gettext('Japanese')),    )


But when I try to access a url with /jp/ at the start I get that there is only 
/en/


Using the URLconf defined in PLP.urls, Django tried these URL patterns, in this 
order:^en/The current URL, jp/accounts/login, didn't match any of these.

 

I am using dbgettext so I also have my database content translated in my 
messages.

But how can I display it

        {% trans "Question:" %}{% trans {{question.question}} %}<br>

Could not parse the remainder: '{{question.question}}' from 
'{{question.question}}'


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to