unable to translate custom lequid

Topic summary

A user is experiencing translation issues with custom Liquid code while using Shopify’s Translate & Adapt app. The entire website translates correctly except for text within custom Liquid sections.

Proposed Solution:

  • Wrap the custom text using Shopify’s translation filter syntax: {{ 'your_key' | t }}
  • Example: {{ 'general.welcome_message' | t }}
  • Add the corresponding translations through Shopify’s Language Editor

This approach enables the Translate & Adapt app to recognize and translate custom Liquid text by making it compatible with Shopify’s translation system. The issue remains open pending confirmation of whether this solution resolves the problem.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.
  • iam using translate & adapt app for translation so the issue is i have used custom liquid in the theme so the whole website is translated except the custom liquid text
1 Like

Hi,

Hope this will help

  • Wrap text in {{ ‘your_key’ | t }}

Code example


{{ 'general.welcome_message' | t }}

  • Add translations in Shopify’s Language Editor