Happening now! Shopify Community AMA: PayPal Express Migration to Shopify Payments | Ask your questions to be answered by our team.

Why isn't the header.liquid translating in my module?

Why isn't the header.liquid translating in my module?

AlfredoGama
Shopify Partner
9 0 0

Hello friends,

 

I installed Shopify Translate & Adapt module and works fine, but I can't see the words in the header.liquid file, I modify this file to change the frontend design, There is some function to tell Shopify that these words are enable to translate? Here is the code of this file 

 

AlfredoGama_0-1677689211579.png

 

here the frontend:

AlfredoGama_1-1677689240914.png

 

 

 

 

Reply 1 (1)

richbrown_staff
Shopify Staff
652 96 166

Hey @AlfredoGama , hardcoded strings can be made visible to translation using t keys - more here: https://www.shopify.com/uk/partners/blog/translation-keys 

To learn more visit the Shopify Help Center or the Community Blog.