Re: Static codes not supporting translation function

Static codes not supporting translation function

AndBreathe
Visitor
1 0 0

We manually added banner info for our website, not sure what dynamic codes should we do to replace those static codes in order to able to translate and adapt other languages.

WX20230910-124029.png

Reply 1 (1)

richbrown_staff
Shopify Staff
652 96 165

Are you able to achieve the same output with sections or template in the Online Store Editor? This would make your life easier, certainly for translations. Otherwise you need to add translation keys: 

https://www.shopify.com/uk/partners/blog/translation-keys

https://shopify.dev/docs/api/liquid/filters/translate 

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