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 the WeGlot, Langify v2, Translation Lab, or Translate My Store apps on your multi-language 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 %}
{% 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 %}
{% 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?