Translate emails and SMS

Using the current version of the Shopify API it is not possible to create a acceptable user experience to translate the notification resources (email and SMS). As soon as the API is fixed by Shopify we implement this feature in our app.

Until now the only option is to pass a locale variable as attribute to the order and use the attribute in the notification template.

In your cart theme file:

<form action="{{ routes.cart_url }}" method="post">
	<input type="hidden" name="attributes[Locale]" value="{{ request.locale.iso_code }}">
	<input type="submit" name="checkout" 
		value="{{ 'cart.general.checkout' | t }}">

In your notifications email template use:

{% if attributes.Locale == 'de' %}
	E-Mail Inhalt (Deutsch)
{% else %}
	E-Mail content (default English)
{% endif %}

Still need help? Contact Us Contact Us