Invoices in multiple languages

If you have a multilingual Shopify store, Sufio can create and send invoices and receipts in the same language your customers used while shopping in your store. 

All Sufio invoices are professionally translated by local accountants and are currently available in over 20 languages.
Invoice French

French invoice created by Sufio

Enabling invoices in multiple languages

To create an invoice in a specific language, its unique language code has to be added as additional order information. This value should be stored in a cart attribute namedInvoice Language.

For instance, if you want to create an invoice in French, you should add the following cart attribute to the cart page.

<input type="hidden" name="attributes[Invoice Language]" value="fr"/>

Shopify apps

In most cases, multilingual stores use one of the multi-language Shopify apps to display store content in different languages.

Langify

Langify is currently the most popular app in this category. The app is very easy to set up, requires no additional coding and allows to translate your store's content and product details into any number of languages.

If you use the Langify app in your store, you can enable the creation and sending of invoices in a different language by adding a special code snippet to the cart file in your theme.

To install the code snippet to your store:

  1. Go to the page Online Store → Themes.in your Shopify store admin.
  2. Click the Actions button, then click Edit code.
  3. Select cart.liquid in the left sidebar.
  4. Insert the following code snippet before the </form> tag.
<!-- Invoice language for online stores using Langify app. Used by Sufio for Shopify (http://www.sufio.com/shopify). -->
{% assign language = cart.attributes["language"] %}{% if language == nil %}{% assign language = shop.metafields["languages"]["default"] %}{% endif %}{% assign invoice_language = shop.metafields.languages[language] %}{% if shop.metafields.language_codes[language] %}{% assign invoice_language = shop.metafields.language_codes[language] %}{% endif %}
<div class="invoice-language"><input type="hidden" id="invoice_language" name="attributes[Invoice Language]" value="{{ invoice_language }}"><link itemprop="url" href="http://www.sufio.com/shopify" /></div>

Note

If your store uses cart drawer (also called ajax cart), this code snippet needs to be added to a different file than cart.liquid. In most cases, it needs to be added to ajax-cart-template.liquid file.

Weglot

Weglot is a smart and easy-to-set-up app that automatically detects and translates your store's content into any number of languages. The app's simple dashboard allows you to easily add and edit your translations or order professional translations.

If you have both the Weglot app and Sufio installed in your store, every order will automatically generate an invoice in the language your customer used while shopping in your store. 

No change of code is necessary in order to get your invoices in the correct language.

Bablic

Bablic is another popular Shopify app for translating stores to multiple languages. The app has a user-friendly visual editor where you can easily edit all translations directly in your online store.

If you use the Bablic app in your store, you can enable the creation and sending of invoices in the language your customer used while shopping in your store by adding a special code snippet to the cart file in your theme.

To install the code snippet to your store:

  1. Go to the page Online StoreThemes.in your Shopify store admin.
  2. Click the Actions button, then click Edit code.
  3. Select cart.liquid in the left sidebar.
  4. Insert the following code snippet before the </form> tag.
<!-- Invoice language for online stores using Bablic app. Used by Sufio for Shopify (https://sufio.com/articles/shopify/create-invoices-from-orders/multiple-currencies/). -->
<div class="invoice-language">
  <input type="hidden" id="invoice_language" name="attributes[Invoice Language]" value="">
</div>
<script type="text/javascript">
  document.addEventListener("DOMContentLoaded", function(event) { 
    bablic.on("locale", function(){ 
      document.getElementById('invoice_language').value = bablic.getLocale();
    });
  });
</script>

Supported languages

Invoices are currently available in over 20 different languages — EnglishSpanish, French, German, Italian, Portuguese, Dutch, Danish, Swedish, Norwegian, FinnishSlovak, Czech, Hungarian, Estonian, Greek, Icelandic, Latvian, Lithuanian, Polish, RomanianTurkish, Arabic, Hebrew, JapaneseTraditional and Simplified ChineseMalay and Indonesian.

Need help?

Do you need any help with setting up invoices in multiple languages for your store? Contact one of our Shopify Expert partners and they will be happy to help you!