How can I automatically translate custom liquid sections on my site?

How can I automatically translate custom liquid sections on my site?

Alex087
Trailblazer
229 3 36

Hi, 

I have a french website with 2 small custom liquid sections that are not translated with Shopify Translate & adapt.

I would like to automatically translate them in english, like the rest of my page. is it possible?

Thank you for your help 

Alex

Replies 19 (19)
Alex087
Trailblazer
229 3 36

hi @Rivin is it possible with Shopify translate & adapt?

thanks

theycallmemakka
Shopify Partner
1558 354 381

Are the content static? Can u edit those content ?

Buy me a Coffee


Enjoy Shopify for $1. Sign up now


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Alex087
Trailblazer
229 3 36

hi @theycallmemakka 

The content is static, I can edit by editing the custom liquid section in the Shopify editor

Thank you for your help 

Alex

theycallmemakka
Shopify Partner
1558 354 381

As the content is static, we must edit the translation file manually in order to translate them. We must edit few files like the section and Locales>en.default.json

 

If the section is not to big, i can help you to translate those sections.

 

Buy me a Coffee


Enjoy Shopify for $1. Sign up now


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Alex087
Trailblazer
229 3 36

Thnak you @theycallmemakka 

this is just few lines to translate, in 2 custom liquid sections.

I would really appreciate your help I'm a bit lost actually

theycallmemakka
Shopify Partner
1558 354 381

Can you attach one of the section here?? I will look into it and let you know.

 

Or you can send the two section files to my email 

mangitma@gmail.com

Buy me a Coffee


Enjoy Shopify for $1. Sign up now


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Alex087
Trailblazer
229 3 36

@theycallmemakka can you please tell me where to locate these files?

 

 

 

the 2 sections are on my product page, here screenshots

 

theycallmemakka
Shopify Partner
1558 354 381

Hi @Alex087 ,

 

First can you provide me product.json file? There should be the name of actual sections.

Buy me a Coffee


Enjoy Shopify for $1. Sign up now


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Alex087
Trailblazer
229 3 36

hi @theycallmemakka 

of course I can send, but where can I find these files?

thanks

theycallmemakka
Shopify Partner
1558 354 381

Step 1: Go to Theme > Edit Code

mangitma_1-1695659047571.png

Search for product.json

mangitma_2-1695659089448.png

 

Copy the content and provide it to me

Buy me a Coffee


Enjoy Shopify for $1. Sign up now


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Alex087
Trailblazer
229 3 36

thanks @mangitma  can I send you the translations?

Alex087
Trailblazer
229 3 36

thanks @theycallmemakka  can I send you the translations?

theycallmemakka
Shopify Partner
1558 354 381

Before translating, we first need to make few changes to make every text dynamic. For this we need to update theme files that renders the sections.

Buy me a Coffee


Enjoy Shopify for $1. Sign up now


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Alex087
Trailblazer
229 3 36

ok understood @theycallmemakka 

theycallmemakka
Shopify Partner
1558 354 381

Hi @Alex087 ,

Looks like your store is not launched yet. If you can add me as a staff with the permission to only view/edit draft theme, i can complete this request.

Buy me a Coffee


Enjoy Shopify for $1. Sign up now


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Alex087
Trailblazer
229 3 36

hi @theycallmemakka I sent you an invatation, tell me if it's ok

theycallmemakka
Shopify Partner
1558 354 381

Yes sure. You can send me an invatation to mangitma@gmail.com

Buy me a Coffee


Enjoy Shopify for $1. Sign up now


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Alex087
Trailblazer
229 3 36

it's done

theycallmemakka
Shopify Partner
1558 354 381

I am looking into it. Will let u know when done

Buy me a Coffee


Enjoy Shopify for $1. Sign up now


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com