Following up on this discussion: http://groups.google.com/group/django-users/browse_thread/thread/83f7b9b93973671f/e4b40ec5a482d155?hl=fr&lnk=gst&q=jsi18n+cache#e4b40ec5a482d155
How about a solution where the js i18n file would contain all the translations for all the languages (in a dictionary indexed by language)? This way, the file could be cached by the browser (because non language cookie dependent). Of course it would require more bandwidth to transfert but: - it would be transfered only once per client - gzip compression is very effective with this find of text files --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---