- 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
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.
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