News:

Support the VirtueMart project and become a member

Main Menu

Shop in Polish, invoice in German

Started by WWG, February 13, 2014, 14:01:53 PM

Previous topic - Next topic

WWG

Hi, Could You tell me where can I find Language file for invoices? I have shop in polish but invoices I need in German. Wchich file should I replace from german language pack? If it is not possible, tell me wchich file or files schould I translate manulay.

Bart

StefanSTS

Hi,

if you want only the invoice in German, you need to put the German strings into your pl-PL.com_virtuemart.ini file.
Search a copy of the downloaded and unpacked virtuemart files for the file name. There are two files, you need the one from the /frontend/, not sure, if you need the file from /admin/ too.

To find out which strings to replace, you can go through the files
\components\com_virtuemart\views\invoice\tmpl\*.php

You find something like COM_VIRTUEMART_MAIL_SHOPPER_YOUR_ORDER.
Replace the Polish strings with the ones from de-DE.com_virtuemart.ini.
COM_VIRTUEMART_MAIL_SHOPPER_YOUR_ORDER="Ihre Bestellnummer: "

If still something is missing, search a polish text with a text search function of a file manager in all virtuemart files. I use Total Commander for that.

Quite a task to find all.

Hope it helps
Stefan

--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.