Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong labels in translation file Mage_Catalog #27

Closed
tmotyl opened this issue Jul 9, 2015 · 1 comment
Closed

Wrong labels in translation file Mage_Catalog #27

tmotyl opened this issue Jul 9, 2015 · 1 comment
Labels
bug translations Relates to app/locale

Comments

@tmotyl
Copy link
Contributor

tmotyl commented Jul 9, 2015

The file
https://github.com/OpenMage/magento-lts/blob/1.9.1/app/locale/en_US/Mage_Catalog.csv#L482

contains label "Please specify the product's option(s)" which is wrong. It should be "Please specify the product's option(s)".
Also all other languages are affected. This bug prevents magento from translating this message and it always appear in english.

Probably sb just copied the label from
https://github.com/OpenMage/magento-lts/blob/1.9.1/app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php#L689

where slash is added to escape single quote in php.

This message appear eg. when you try to add to cart configurable product from wishlist. But the product is not yet configured

@tmotyl
Copy link
Contributor Author

tmotyl commented Oct 8, 2015

actually the problem is much bigger.
there are over 100 wrong places in translation files....

tmotyl added a commit to macopedia/magento-lts that referenced this issue Oct 8, 2015
Signle quotes have to be escaped in PHP when label is wrapped in ''
however in csv it's not needed and causes that some labels are not translated.

Fixes OpenMage#27
Flyingmana pushed a commit to Flyingmana/magento-lts that referenced this issue Oct 18, 2016
Signle quotes have to be escaped in PHP when label is wrapped in ''
however in csv it's not needed and causes that some labels are not
translated.

Fixes OpenMage#27
edannenberg pushed a commit to edannenberg/magento-lts that referenced this issue Nov 27, 2017
Single quotes have to be escaped in PHP when label is wrapped in ''
however in csv it's not needed and causes that some labels are not translated.

Fixes OpenMage#27
edannenberg pushed a commit to edannenberg/magento-lts that referenced this issue Dec 6, 2017
Single quotes have to be escaped in PHP when label is wrapped in ''
however in csv it's not needed and causes that some labels are not translated.

Fixes OpenMage#27
edannenberg pushed a commit to edannenberg/magento-lts that referenced this issue Feb 28, 2018
Single quotes have to be escaped in PHP when label is wrapped in ''
however in csv it's not needed and causes that some labels are not translated.

Fixes OpenMage#27
edannenberg pushed a commit to edannenberg/magento-lts that referenced this issue Jul 17, 2018
Single quotes have to be escaped in PHP when label is wrapped in ''
however in csv it's not needed and causes that some labels are not translated.

Fixes OpenMage#27
edannenberg pushed a commit to edannenberg/magento-lts that referenced this issue Sep 19, 2018
Single quotes have to be escaped in PHP when label is wrapped in ''
however in csv it's not needed and causes that some labels are not translated.

Fixes OpenMage#27
edannenberg pushed a commit to edannenberg/magento-lts that referenced this issue Feb 14, 2019
Single quotes have to be escaped in PHP when label is wrapped in ''
however in csv it's not needed and causes that some labels are not translated.

Fixes OpenMage#27
edannenberg pushed a commit to edannenberg/magento-lts that referenced this issue Apr 1, 2019
Single quotes have to be escaped in PHP when label is wrapped in ''
however in csv it's not needed and causes that some labels are not translated.

Fixes OpenMage#27
edannenberg pushed a commit to edannenberg/magento-lts that referenced this issue Aug 22, 2019
Single quotes have to be escaped in PHP when label is wrapped in ''
however in csv it's not needed and causes that some labels are not translated.

Fixes OpenMage#27
edannenberg pushed a commit to edannenberg/magento-lts that referenced this issue Oct 25, 2019
Single quotes have to be escaped in PHP when label is wrapped in ''
however in csv it's not needed and causes that some labels are not translated.

Fixes OpenMage#27
@sreichel sreichel added bug fixed translations Relates to app/locale labels Jun 27, 2020
edannenberg pushed a commit to edannenberg/magento-lts that referenced this issue Aug 20, 2020
Single quotes have to be escaped in PHP when label is wrapped in ''
however in csv it's not needed and causes that some labels are not translated.

Fixes OpenMage#27
randallelliott714 added a commit to randallelliott714/magento that referenced this issue Oct 18, 2022
Signle quotes have to be escaped in PHP when label is wrapped in ''
however in csv it's not needed and causes that some labels are not translated.

Fixes OpenMage/magento-lts#27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug translations Relates to app/locale
Projects
None yet
Development

No branches or pull requests

2 participants