3 Ways to Translate Your Magento Extension
All Plumrocket Magento 2 extensions include English localization by default, however you can translate any extension into your native language. Use one of the ways described below to translate the Magento 2 Size Chart extension into your mother tongue.
Magento 2 Extension Inline Translation
To read more about Magento 2 inline translation, please check our Translating Magento 2 Extension Using Inline Translation article.
Magento 2 Extension Theme Files Translation
To read more about Magento 2 theme translation files (csv), please check our Translating Magento 2 Extension Using Theme Translation Files article.
How to Translate Magento 2 Size Chart Extension Using Locale CSV File
Make sure to disable Magento 2 cache while working with the .csv translation. Otherwise, your changes will not be displayed instantly.
1. The default language of your Magento 2 store is English. If you need to perform translation into any other language using your .csv file, simply find the file (as it shown below) and copy it into the same directory.
2. As an example we will show how to perform German translation of the .csv file here. Please, check an example of the path to the German .csv file to be translated.
3. Open the .csv file using any text editor (e.g. Notepad++) and translate the second phrase of each string.
All the strings in your .csv file should start and end with double quotes and should be separated with comma [,]
The translated text should look like this:
"Add to Cart", "Translated Text"
Please, check an example of translation into German:
"Add to Cart", "In den Warenkorb"
Please learn more details on how to edit .csv files during the translation.
If you performed your translations according to our manuals, but some of the words are still not translated – you can contact our support service. Help Magento community by sharing translations in your native language. Just email your translations file and we will include it on our Wiki.
You can also read more information about Magento 2 translations.