Skip to content

Wrong translated strings in the javascript dictionary. #12782

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

Closed
andrewbess opened this issue Dec 18, 2017 · 2 comments
Closed

Wrong translated strings in the javascript dictionary. #12782

andrewbess opened this issue Dec 18, 2017 · 2 comments
Assignees
Labels
bug report Component: Translation Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development non-issue

Comments

@andrewbess
Copy link
Contributor

Preconditions

  1. Magento is installed from 2.2-develop branch
  2. Default or Developer mode
  3. 2 custom Store Views created and enabled
  4. All indexers are valid
  5. Different locales are set for each Store View, for example:
  • Ukrainian (Ukraine) for the 1st custom Store View
  • French (France) for the 2nd custom Store View
  • Leave English (United States) on Default Config level to be extended as a locale for Default Store View
  1. Magento Cache is flushed if there is a need
  2. Product visible for all Store Views is created
  3. Put attached CSV files to Magento root folder
    source_fr_FR.csv.zip
    source_uk_UA.csv.zip
  4. Run following in console:
  • bin/magento i18n:pack --mode=replace -d source_uk_UA.csv uk_UA
  • bin/magento i18n:pack --mode=replace -d source_fr_FR.csv fr_FR
  • bin/magento setup:static-content:deploy en_US uk_UA fr_FR -f
  • bin/magento setup:di:compile
  • bin/magento deploy:mode:set production -s

Steps to reproduce

  1. Go to Storefront
  2. Switch to Storeview with French locale
  3. Open product page
  4. Click Ajouter au panier to add the product to cart

Expected result

Button changes to En cours d'ajout... while the ajax request is processing
When the ajax requests is finished, the button changes to Produit ajouté
After a bit of time, the button changes back to Ajouter au panier

Actual result

Wrong translated string Ajouter vos mots clés : (from one of the modules "Magento_Newsletter", "Magento_Email", "Magento_MultipleWishlist") appears instead of Produit ajouté

Screenshots:
https://ibb.co/iemXem

@andrewbess andrewbess added bug report Component: Translation Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Translation labels Dec 18, 2017
@andrewbess andrewbess self-assigned this Dec 18, 2017
@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Dec 18, 2017
@magento-engcom-team magento-engcom-team added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Mar 1, 2018
@magento-engcom-team
Copy link
Contributor

@andrewbess, thank you for your report.
We've acknowledged the issue and added to our backlog.

@magento-engcom-team magento-engcom-team added the Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed label Mar 1, 2018
@andrewbess
Copy link
Contributor Author

andrewbess commented Mar 22, 2018

There are wrong translations.
File for locale fr_FR has different translations for same strings.
You need to use another language pack.
Please look this topic on Magento Forums.
I think it should be closed.

@andrewbess andrewbess added Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch non-issue and removed Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Translation Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development non-issue
Projects
None yet
Development

No branches or pull requests

2 participants