Trouble with displaying Swatches in your Turbo theme in languages other than English

July 05, 2019 1 min read

Are you using the Turbo theme from Out of the Sandbox in your Shopify online store in a language other than English? Did you experience that Swatches don't show up?

Here's the tweak:

You need to edit your theme code. There are two relevant files in the Snippets directory where you need to make a minor change:

  • snippets/collection-swatch.liquid
  • snippets/product-swatch.liquid

Search for the code line

{% if downcased_option contains 'color' or downcased_option contains 'colour' %}
If your store language is German and substitute it with
{% if downcased_option contains 'color' or downcased_option contains 'colour' or downcased_option contains 'farbe' %}
For other languages substitute 'farbe' with 'the translation of color in your language'