The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Dinamically change template language

dariodario Member
in Help edited December 2014
Hello
I was wondering if it is possible to change the language (en,de,fr,ch,...) of all the templates (cart, checkout, email) dynamically; is there some method or session one can set to switch it or it can only be changed from the admin panel?
Thanks
Dario
Comments
  • fc_adamfc_adam FoxyCart Team
    @dario,

    Currently it's only possible to set a single language per store - but multi-language support is something we'll be adding in the future.

    There is a work-around that we developed for 1.1 which essentially worked by resetting all of the template language strings within the templates using Twig - and that was triggered by passing in a session variable. It's certainly not a perfect solution - but it did work. We're going to be looking at porting that over to 2.0 soon so that could be something you could look at then.
Sign In or Register to comment.