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

Topic summary

A user installed the Shopify Translate & Adapt module, which works correctly except for text in the header.liquid file that was modified for frontend design customization.

Issue: Hardcoded strings in the custom header.liquid file are not appearing in the translation interface.

Solution provided: A Shopify staff member explained that hardcoded strings need to be wrapped with translation keys (t keys) to become visible for translation. They provided a link to Shopify’s documentation on translation keys.

Status: The discussion appears resolved with a clear technical solution—implementing t keys for the hardcoded text strings in the liquid file.

Summarized with AI on November 22. AI used: claude-sonnet-4-5-20250929.

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

here the frontend:

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