Drupal Commerce - Translate Order total, Shipping Information, Billing information

· konordo

If you do not want to use i18n_string and i18n_field in order to translate the Order total, Shipping & Billing Information texts, that show up in the cart and on the checkout pages when using Drupal Commerce, the following hacky approach should do the trick.

First, the following funcion can be used in your template.php file:


The above function (as seen in https://drupal.org/node/1451132#comment-6437052 ) is also available as a module and can be used instead: https://github.com/kaido24/commerce_lang_repair

In addition, there is this patch, that will also handle the Order total text in the cart:

https://drupal.org/files/Total_order_translation-1776644-17.patch