All Collections
Order Printer Templates
Translation & multi-language
Multi-language setup (Translation apps or Shopify Markets)
Multi-language setup (Translation apps or Shopify Markets)
Instructions for setting up multi-language templates in Order Printer or Order Printer Pro, with any of these apps.
Blanca Gongora avatar
Written by Blanca Gongora
Updated over a week ago

It is possible to have the templates in multiple languages, but it does take some setting up initially.

The following are instructions if you are using translation apps such as WeGlot, Langify v2, Translation Lab, Translate My Store, etc., or if you use Shopify Markets on your website:

Step 1

Customize the template in Order Printer Templates for Language 1, then export the code and save it into a file.

Note: You must first purchase the template to be able to export the code.

Step 2

Go back into the Order Printer Templates editor and update your template into Language 2, then export the new code and save it into another file.

Step 3
Use the below code, to place the full template code into the correct section:

{% assign language_code = attributes.lang | default: customer_locale | split: "-" | first %}
{% case language_code %}
{% when 'de' %}
GERMAN TEMPLATE CODE
{% when 'es' %}
SPANISH TEMPLATE CODE
{% else %}
DEFAULT LANGUAGE CODE
{% endcase %}

Note: This is only an example, make sure to copy the correct language code (example: 'de' for the German language) from your translation app account.

Here is another example if you want to translate the documents in Spanish only:

{% assign language_code = attributes.lang | default: customer_locale | split: "-" | first %}
{% case language_code %}
{% when 'es' %}
SPANISH TEMPLATE CODE
{% else %}
ENGLISH TEMPLATE CODE
{% endcase %}

Step 4

Copy and paste the full code into the template in Order Printer or Order Printer Pro. This means you have 1 template, which contains the code of many different languages.

Having more questions? No worries, get in contact with our support team using the message icon on the lower right corner of this page.

Did this answer your question?