-- HikaShop version -- : 3.5.1 Essential
-- Joomla version -- : 3.8.11
-- PHP version -- : 7.0.30
-- Browser(s) name and version -- : Firefox Quantum 61.0.2
Derar HikaShop Team,
I am working on a test site that has English (the default language) and the German language installed. I also have Falang Standard installed for translations. I have also edited the views file for my template (checkout / cart.php) on lines 443 and 445:
<?php echo $tax->tax_namekey; ?>
to
<?php echo JText::_($tax->tax_namekey); ?>
As you know this allows the tax namekey to be translated using the language overrides. I use the language constant override TAXEU with the values “Sales Tax” & “MwST,” which are given both site/administrator locations. In the front end this works fine:
But in the back end under the “Additional Information” section for the product, in the notification e-mail and on the PDF invoice, the TAXEU language constant appears instead of its value:
I have tried putting the TAXEU language constant in the place of TAX in the
invoice.php file for the PDF invoice, but this makes no difference. Is it possible to have the TAXEU language constant display its values, as it does on the website checkout page?
2. I have a virtual product with pdf files and in the notification e-mail the links are displayed following a confirmed order. This displays and works as it should when an order is made in English, but if the order is made in German, the links to the English pdf files are displayed instead of the German pdf files links! The translation for the links have been completed and published in Falang:
In the front end, if user accesses their account in the English or German language, the files for the different languages can be downloaded:
Additionally, if the files were free they can also be downloaded in the language selected by the user, so this works as it should. The only issue is in the confirmed e-mail notification.
3. The payment and shipping methods are translated and published in Falang and appear as they should be on the checkout page (Bank Transfer/ Banküberweisung and Standard UK Delivery/ Standard UK Lieferung), in the front end, and in the
“created” e-mail notification. However, the translation into German is not shown in the
“confirmed” e-mail notification, the PDF invoice or in the back end section “Zusätzliche Informationen” for the product:
Not sure why this happens only with a confirmed order e-mail and onwards.
4. Is it possible to have the date on the German PDF invoice in a DD-MM-YYYY format? As this is the format used on the English PDF invoice. Also, in the PDF Invoice plugin there is a setting that allows text to be inserted at the footer of the PDF invoice, but this would only work for one language:
I noticed a language constant : PDF_INVOICE_FOOTER, in the hikashop language file. Can this be used in the
invoice.php file to display translated text instead of using the plugin’s configuration? I did put language constant PDF_INVOICE_FOOTER into the
invoice.php file, but nothing is displayed on the PDF invoice.
Do I need the latest PDF Invoice plugin, if there is one? I bought and downloaded it 3 years ago and I am not sure if it is updated with HikaShop updates or separately.
I hope the above issues I have brought up can be resolved.
Regards,
Mr B