Translation of the category in runtime

Create issue
Issue #1225 resolved
Andrea Innocenti created an issue

I have a strange behaviour with the category, on my server if I change the language from Italian to english and vice versa I see the category translated in the old language. If I change the browser nothing happens and also from another computer it don't change. looks like there's some cache around how it's displayed that don't allow 2 languages on it. If I restart the server I have the right language and the same if I wait for some time. I hope it was clear what I wrote,I don't know how to explain it better. thank you for considering it Andrea

Comments (2)

  1. Chris Moffitt repo owner

    In satchmo_store/shop/templatetags/satchmo_category, we do cache the category tree. Unfortunately we are storing the translated name. So, when we switch back and forth we'll get this error.

    I need to think through the proper solution for this issue.

  2. Log in to comment