How to change a language's label in Django language specific URLs using i18n_patterns?

20 views
Skip to first unread message

Rodrigo Cea

unread,
Jan 6, 2017, 2:34:46 PM1/6/17
to Django users
I'm using Django's i18n_patterns, so my URLs look like www.domain.com/pt/title. I want to change the language code in the URL to a different string, say, for example 'br' instead of 'pt', so the same url above would be rendered www.domain.com/br/title. I only want to change the language's label, not the actual translation.
Reply all
Reply to author
Forward
0 new messages