VirtueMart Forum

VirtueMart 2 + 3 => Language/Translations => Topic started by: CE WebDesign München on November 22, 2015, 10:41:40 am

Title: typos in en-GB.com_virtuemart.ini
Post by: CE WebDesign München on November 22, 2015, 10:41:40 am
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"
Title: Re: typos in en-GB.com_virtuemart.ini
Post by: jjk on November 25, 2015, 00:21:09 am
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.
Title: Re: typos in en-GB.com_virtuemart.ini
Post by: CE WebDesign München on November 25, 2015, 08:25:53 am
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?
Title: Re: typos in en-GB.com_virtuemart.ini
Post by: jjk on November 25, 2015, 11:08:26 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.
Title: Re: typos in en-GB.com_virtuemart.ini
Post by: CE WebDesign München on November 25, 2015, 11:49:51 am
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)
Title: Re: typos in en-GB.com_virtuemart.ini
Post by: Milbo on August 23, 2016, 11:39:08 am
changed since almost a year already
Title: Re: typos in en-GB.com_virtuemart.ini
Post by: HenrikS on November 27, 2017, 21:22:43 pm
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