Translations are inaccessible in return email templates

Translations are inaccessible in return email templates

seymur_crsp
Shopify Partner
67 4 10

I've created custom email templates and replaced all of the hardcoded text with translations, just like we do in regular liquid files.

For example, instead of "Your order is confirmed", I put {{ emails.order_confirmation.title | t }} and add that translation to the locale files.

Problem is that all templates are fine with this, except the return email templates. In return email templates, translations don't get loaded and, for example, instead of "Your return request is confirmed", I get "Translation missing: en.return_request_confirmed.title", while "emails.return_request_confirmed" exists in locale files.

I've tested it on two different stores and same thing happens. Why it happens specifically in return email templates ?

I contacted Shopify support, but unfortunately they haven't been of much help

@Shopify 

 

Replies 0 (0)