
In the process of setting up a multi-language store in Magento 2, you have to mind a lot of aspects. Except for translating catalogue pages, you should also pay close attention to labels and buttons. Though quite insignificant at first glance, they are a crucial website navigation point for your worldwide customers.
Since the language packs don't always cover all of the translations, you need to learn the other way. Thus, today you'll learn how to translate labels in your store using the Magento 2 Translation Extension. It allows you to do everything right in the admin panel, no coding is needed.
In order to translate labels in Magento 2:
1. Go to System > Translations >Add/Edit and press the Add Translation button.
2. Enter the Original Text of your label or button.
3. Translate the Text and add it in the next field.
4. If you have two store views in the same language, specify what Store View exactly this translation should be displayed on.
5. Choose the language you're translating into from the Locale dropdown.
Note: for the translations to be applied, make sure to specify the locales for each of the store views you create.
6. Press the Save Translation button, flush the cache, and check your newly translated label on the storefront.
If you have more than 2 locales, you can simply repeat the process for other store views. Or you can go to Stores > Translation > Search and Translate, find a corresponding label and add translations for all the store views at once.
This is how easily you can translate buttons and labels in Magento 2. You'll save your time greatly and optimize the translation process of your multi-language store with the right tool at hand.
However, unfortunately, not all labels and buttons come with Magento. If you have some custom labels from third-party modules, you need to know how to translate Magento 2 extensions.