Re: Translating custom liquid

Solved

Translating custom liquid

mariannemca
Excursionist
33 0 3

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!

Accepted Solution (1)
AnneLuo
Shopify Partner
1293 228 266

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!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

View solution in original post

Replies 14 (14)

DaisyVo
Shopify Partner
4293 470 562

Hi @mariannemca 

 

Please share page link and the screenshot of the part that need to be adjust

 

Best,

 

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
mariannemca
Excursionist
33 0 3

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

AnneLuo
Shopify Partner
1293 228 266

Hi, @mariannemca 

Can you please share the store URL so that I can assist you?

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

mariannemca
Excursionist
33 0 3

Hi - it is www.kula-giving.ch

AnneLuo
Shopify Partner
1293 228 266

Password please. And can you share the custom liquid section with me?

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

mariannemca
Excursionist
33 0 3

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>

AnneLuo
Shopify Partner
1293 228 266

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!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

mariannemca
Excursionist
33 0 3

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😀

mariannemca
Excursionist
33 0 3

Thank you for the help Anne and for fixing this for me! Much appreciated! 

AnneLuo
Shopify Partner
1293 228 266

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.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

mariannemca
Excursionist
33 0 3

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!

AnneLuo
Shopify Partner
1293 228 266

In the custom liquid box.

AnneLuo_1-1737729079750.png

 

 

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

mariannemca
Excursionist
33 0 3

perfect - thank you so much

ZestardTech
Shopify Partner
6096 1091 1465

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?

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing