I put this under i18n under my theme:
"View and Edit Cart","Afficher et modifier le panier",module,Magento_Checkout
also i can't get the translation
"You added %1 to your shopping cart.","Vous avez ajouté %1 à votre panier.",module,Magento_Wishlist
and i deleted pub/static and flush cache please help
-
try this - sanjuantala.wordpress.com/…– SanjuCommented Jan 28, 2019 at 13:52
-
ok i will try this and tell you thanks for your replay*– Developper MagentoCommented Jan 28, 2019 at 14:11
-
I can't find the file js-translation.json under my theme– Developper MagentoCommented Jan 28, 2019 at 14:31
Add a comment
|
2 Answers
i have find solution open below file and add below translation text
app/design/frontend/{Vendor}/{theme}/i18n/fr_FR.csv
"View and edit cart","Afficher et modifier le panier"
"You added %1 to your shopping cart.","Vous avez ajouté %1 à votre panier."
after run below command :
rm -rf var/di/* var/generation/* var/cache/* var/log/* var/page_cache/* var/session/* var/view_preprocessed/* pub/static/*
re-run static-content:deploy
php bin/magento setup:static-content:deploy -f fr_FR
-
-
perfect thanks a lot i need your help please in this magento.stackexchange.com/questions/259540/… Commented Jan 29, 2019 at 8:33
-
i already accepted your answer here really very helpful Commented Jan 29, 2019 at 10:28
-
-
Still working on magento 2.4.3 ( September, 2021 ). Thank you! Commented Sep 2, 2021 at 17:35
app/design/frontend/{Vendor}/{theme}/i18n/fr_FR.csv
"View and Edit Cart","Afficher et modifier le panier",module,Magento_Checkout
"You added %1 to your shopping cart.","Vous avez ajouté %1 à votre panier.",module,Magento_Wishlist
Then, remove the pub/static content, var/view_preprocessed, then deploy the static content. you can execute the command below
rm -rf /pub/static/* && rm -rf /var/view_preprocessed/* && php bin/magento s:s:d -f
It should work, you can also translate them via the inline translate
Good luck.