0

Does anyone know whether CartThrob supports additional languages from a front-end perspective? It would be great to know whether it is possible to localise all product and checkout content within the same add-on.

Thanks, Adeeb

1 Answer 1

0

Since Cartthrob uses regular channels and entries there is no reason it would not work with one of the multi-language add-ons such as; Multi language support or Multilanguage Module

You could even create your own system by adding some extra fields to your entries.

For example, if you have a text field for a product description named {product-description} you could create a French version called {fr-product-description}.

Then create your url structure and templates to use a language code within the urls. So the English version might be /en/products/my-product and the French version would be /fr/products/my-product.

You can then look for the first url segment and inject it into any custom field tags that you output to the template, or use conditionals to switch out the different language content.

EDIT: I'm going to have to test this now as I'm unsure whether it will work. Worth a try though if you don't want to use an add-on.

1
  • Perfect, thanks for that. Transcribe looks like a great add-on which could bring all of that together nicely.
    – Adeeb Khan
    Sep 28, 2014 at 19:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.