Global expansion, localizing content, and selling in multiple currencies and languages
In my theme, I have a few custom liquid blocks. When using the «Shopify Translate & Adapt»-app in order to translate my content from German to French, the content inside the custom liquid blocks is not being translated.
Here is one example of the code I have put into one of my custom liquid blocks:
<ul> <li><b>5% Rabatt</b> bei 2 Stk.</li> <li><b>10% Rabatt</b> bei 3 Stk.</li> </ul>
How can I format the code in a fashion that allows the Shopify Translate & Adapt app to translate the content of the custom liquid block?
Hi @Patrick33 , take a look at this post where @Matei86 described one way it was done. Broadly we recommend trying to do whatever you need to do with sections, rather than custom liquid, if at all possible.
To learn more visit the Shopify Help Center or the Community Blog.
Thank you, Rich. The solution you linked to doesn't solve the problem.
Can you tell me if this would work:
{% if request.locale.iso_code == 'en' %}
English content
{% elsif request.locale.iso_code == 'fr' %}
French content
{% elsif request.locale.iso_code == 'de' %}
German content
{% endif %}
Thank you in advance.
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024