The German site of VM 4.0.7.10730 doesn't work. I only get an error in
administrator/components/com_virtuemart/helpers/vmtext.php on line 150
When I uncomment this line the error disappears and the site works fine. But then the "Back to Category button" in detail view of a product is only a small button without text.
I have downloaded the German language file from here:
https://virtuemart.net/community/translations/virtuemart/de-DE
The English site works fine, also the "Back to Category" button.
VM 4.0.7.10730
J 4.2.4
It is possible that one of the language files has a line with a translation not enclosed in quotation marks
or the variable hasn't been changed ... all variables got changed to %1$s in the lang files I think
The problem is the language file from this link I told in my first post. The language files will be installed into the Joomla language folder. The error is caused by the file de-DE.com_virtuemart.ini in the Joomla language folder. As soon as I delete this file the site works without problems.
There is also a de-DE.com_virtuemart.ini in the VM language folder. But I don't remember where from I got it. Is there an other download link for the VM language files?
Yes, and your contribution to this free software can be to check thru the file looking for one of the suggested problems and report back here what you find... :)
Quote from: GJC Web Design on October 31, 2022, 11:15:01 AM
or the variable hasn't been changed ... all variables got changed to %1$s in the lang files I think
It depends! %1$s for the first position if string. But we have also %2$s for the second position, or %1$i or d for other datatypes. Languages are here, the german file should be updated. https://virtuemart.net/community/translations/virtuemart
Quote from: patbe60 on October 31, 2022, 17:19:59 PM
Is there an other download link for the VM language files?
I made an installer for German language files for my customers.
https://www.jooglies.com/virtuemart-erweiterungen/deutsche-sprachpakete-f%C3%BCr-virtuemart
Those work, based on the original files.
Stefan
QuoteI made an installer for German language files for my customers.
Thank you very much. Works fine.