Hi folks, I have a rather peculiar problem. I created translations for my project, and mostly they work fine. Except that on a couple of pages, the language seems to get stuck on the translated language after the first time I change languages.
Example: I visist the site. It's in english (which is the hard-coded language). I press a link to change to swedish (which is the language in the .po/.mo-files). It changes to swedish. I visit pages, they're in swedish. I change back to english. Stuff from the db (from fields with english text) goes back to english, but variables marked for translation in templates on certain pages of the site stay in swedish. Other pages are all in english, as they should. I haven't got a clue as to why this happens. I tried recompiling the language files, restarting the server etc. Nothing helps. I even deleted and redid the translation (an hour of my life I'll never get back, but I'm glad it's only an hour), recompiled, same problem again. I have tested this both on my local machine using the dev server and a testing environment with apache/mod_python, exact same behavior. I'm using 0.97-PRE. The only thing in common with the specific pages (2 of them as far as I can see) where the translation gets stuck that I can think of is that they use some sort of inclusion tags, one being James Bennet's Generic Content, the other one a simple one I wrote myself merely retreiving a list of items. What gives? --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---