Reputation: 12138
I have a app in django, which I need to implement i18n, should be easy in django. but my problem here is, I cannot use the HttpSession to store the user language! so my solution is, I got add to all URL the language as parameter! is there any easy why to do it?! or some API for django?!
I saw this however it is just available in django 1.4 which is still in Dev!
Upvotes: 1
Views: 1756
Reputation: 29420
Try using transurlvania, I've just used it in 2 of my websites over past two few weeks and it seems very nice to work with and is quite similar to what docs say is in trunk now, so my guess is it will be easy to move to 1.4 in the future.
It supports, quote:
Language-in-Path - a replacement for Django's language cookie that makes URLs language-specific by storing the language code in the URL path.
More on transurlvania here and on StackOverflow.
Upvotes: 2