Invoice in language selected by customer
Posted: Fri May 22, 2015 4:44 am
Goodday,
Since a short period i also sell international and translated my page to handle both dutch and english, where dutch is the default language on opening my store.
Now when someone orders using the english version of my website, i am having problems with the invoice.
While product names, selected shipping method,selected payment method etc are translated correctly, the "static" information isn't translated.
So for instance an "invoice" in dutch is called "factuur", while i have my template set to show <?php echo $text_invoice; ?> when i print an invoice placed by an customer using the english version of the website the invoice title is "factuur" and not "invoice".
Same goes for payment methods, example: (payment method in dutch is betaalmethode)
The invoice from an order placed in english says: "Betaalmethode : Banktransfer", where i would want it to just say: "payment method: banktransfer".
This while banktransfer is translated correctly and also shows in english when the customer shopped in english, and shows in dutch when the customer shopped in dutch.
I need this for custom declarations as this requires all invoices to be in english at least or the appropriate language for that country.
Am i doing something wrong or should i add some line to the invoice template?
Or is this a general issue when using multiple languages at the website where the default admin language is set to dutch?
Thanks in advance for your help.
With kind regards,
Anton
Since a short period i also sell international and translated my page to handle both dutch and english, where dutch is the default language on opening my store.
Now when someone orders using the english version of my website, i am having problems with the invoice.
While product names, selected shipping method,selected payment method etc are translated correctly, the "static" information isn't translated.
So for instance an "invoice" in dutch is called "factuur", while i have my template set to show <?php echo $text_invoice; ?> when i print an invoice placed by an customer using the english version of the website the invoice title is "factuur" and not "invoice".
Same goes for payment methods, example: (payment method in dutch is betaalmethode)
The invoice from an order placed in english says: "Betaalmethode : Banktransfer", where i would want it to just say: "payment method: banktransfer".
This while banktransfer is translated correctly and also shows in english when the customer shopped in english, and shows in dutch when the customer shopped in dutch.
I need this for custom declarations as this requires all invoices to be in english at least or the appropriate language for that country.
Am i doing something wrong or should i add some line to the invoice template?
Or is this a general issue when using multiple languages at the website where the default admin language is set to dutch?
Thanks in advance for your help.
With kind regards,
Anton