Shopify themes, liquid, logos, and UX
I have two custom liquid boxes on my product page and need to translate these into German. I have the translate & adapt app but it doesn't show these. I am not very good with editing code. Is there a simple way to translate these without having to go into the coding? Thank you!
Solved! Go to the solution
This is an accepted solution.
You can use the code below to impletment the translation.
{% if shop.locale == 'de' %}
<!-- German content here -->
Dein benutzerdefiniertes Inhalt
{% else %}
<!-- English content here -->
Your custom content here
{% endif %}
If you will unable to implement the same then I'm happy to do this for you, let me know.
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Hi @mariannemca
Please share page link and the screenshot of the part that need to be adjust
Best,
Daisy
Hi Daisy
Here is the link https://www.kula-giving.ch/products/the-salted-caramel-brownie-box
I have attached a pic with the custom liquids circled.
Thank you
Hi, @mariannemca
Can you please share the store URL so that I can assist you?
Password please. And can you share the custom liquid section with me?
This is the custom liquid 1
<p>Order today for next-day delivery across Switzerland*<br>
<small><em>*Next-day delivery available for orders placed Monday–Thursday before 10 a.m. Choose your delivery date at check-out. </em></small></p>
Custom liquid 2
<p>Need more than one? <strong>Please complete separate check-outs</strong> for each order, or feel free to <a href="mailto:hoi@kula-giving.ch">contact us directly</a> if you need assistance!</p>
This is an accepted solution.
You can use the code below to impletment the translation.
{% if shop.locale == 'de' %}
<!-- German content here -->
Dein benutzerdefiniertes Inhalt
{% else %}
<!-- English content here -->
Your custom content here
{% endif %}
If you will unable to implement the same then I'm happy to do this for you, let me know.
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Hi Anne
Thank you! As I mentioned I am not so comfortable with code! 🙂 where do I implement this? Or if you are able to do so that would be amazing😀
Thank you for the help Anne and for fixing this for me! Much appreciated!
You are welcome. I'm glad to hear that the solution worked well for you.
If you require any more help, please don't hesitate to reach out.
Hi Anne, could you tell me where I can find the translations in the code as we need to make some edits to the translated text? Thank you!
In the custom liquid box.
perfect - thank you so much
Hello @mariannemca,
Could you please provide the URL/ password to your store so that I can check it and provide you with the exact solution?
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025