cancel
Showing results for 
Search instead for 
Did you mean: 

Translate website

Translate website

Hello,

 

I created a child theme for the French langage. I now need to translate it.

 

How can I do it from magento dashboard?

 

thanks

 

Sharon

2 REPLIES 2

Re: Translate website

Hi @clemence_benharbon 

You need to create .csv file under below path:

<magento_module>/<theme>/i18n/fr_FR.csv

Now add content like as below example under csv file:

"Add to Cart","Zum Warenkorb hinzufügen"
"Add to Compare","Hinzufügen um zu vergleichen"
"Add to Wishlist","Zum Wunschzettel hinzufügen"
"Additional Product Info","Zusätzliche Angaben zum Produkt"
"Address","Adresse"
"Address %1 of %2","Adresse %1 von %2"

Now run commands so changes will reflect:

php bin/magento setup:static-content:deploy

Or you can refer below link as well :
https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/translations/xlate.html

It may help you!
Problem Solved? Please click on 'Kudos' & Accept as Solution!

Re: Translate website

Hello @clemence_benharbon 

 

I think instead of coding for this functionality you must integrate a third-party extension for your Magento 2 Store.

 

The best suggestion is to integrate Google Language Translator for Magento 2 stores that help your customers to translate language as per their desire.

 

If it helps then accept it as a solution by hitting the kudos button.

 

Thank-You