i actually already solved this issue, but all the solutions i’ve found so far are just tricky workarounds.
i’m playing with i18n_patterns and everything’s working fine except links.
For instance, href=”contacts” redirects users to “/en/contacts” or “/it/contatti”, but in page source it remains “contacts”.
For SEO optimizations purposes i’d like to see href=”/en/contacts”
Is this possibile without writing code?
cheers,
Davide
If you use the url templatetag this should be handled automatically.
From django documentation:
Read more about localized url-patterns in the django documentation