hi, Joomla Debug found 2 typos (, should be _) in en-GB.com_virtuemart.ini (vm3.0.12), best regards, chris
JROOT\components\com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini : error(s) in line(s) 277, 417
line 277 (typo/fix)
COM_VIRTUEMART_ORDERING,PRODUCT_NAME="Sorted product name"
COM_VIRTUEMART_ORDERING_PRODUCT_NAME="Sorted product name"
line 417 (typo/fix)
COM_VIRTUEMART_SEARCH_ORDER_ORDERING,PRODUCT_NAME="Sorted Product Name"
COM_VIRTUEMART_SEARCH_ORDER_ORDERING_PRODUCT_NAME="Sorted Product Name"
Those 'typos' are intentional. (I'm not a developer, so I can't tell you why those lines have to include the komma. But there is a reason) I know Joomla language debug reports them as an error, but nevertheless they do work.
ok,
good time to ask a developer, I'll post it in development,
maybe it's an old solution or even obsolet,
maybe a developer can solve it differently now or drop it for vm3?
Quote from: gogo123 on November 25, 2015, 08:25:53 AM
maybe it's an old solution or even obsolet,
It is a new solution (added a few months ago). I complained about it too, but development said it's necessary.
ok, thank you for the info and time,
can you put these lines at the end of the file and leave a comment, please?
Kind regards, Chris
just for info for other users:
Note: If your INI format is invalid, the results are not well defined.
Most versions of PHP will load your language file up to the point where an error occurs,
but throw no error message whatsoever.
; A comment in language files
https://docs.joomla.org/Specification_of_language_files (https://docs.joomla.org/Specification_of_language_files)
changed since almost a year already
This error seems to be back in 3.2.6 both on the frontend and in config sortorder
COM_VIRTUEMART_ORDERING,PRODUCT_NAME
Sort-by fields
COM_VIRTUEMART_ORDERING,PRODUCT_NAMEProduct NameCreation DateProduct Item no.MPNProduct Short descriptionProduct DescriptionSef AliasCategory NameCategory DescriptionManufacturer NameProduct PriceFeatured ProductProduct SalesProduct AvailabilityProduct Available DateProduct HeightProduct WidthProduct LengthLength/Weight/Height Unit of MeasureProduct WeightProduct Weight UnitProduct in stockLow Stock NotificationProduct Modified DateGTIN (EAN,ISBN)Product UnitProduct PackagingProduct idOrdering