Running a multi-language store requires diligent work in various aspects. One of them is translating your content so that customers receive a seamless experience.
While you will probably translate products and categories first, you shouldn't forget about the CMS blocks. So today you'll learn how to translate CMS blocks in Magento 2 in different ways.
Post Contents [hide]
Translate CMS Blocks in Default Magento
1. Go to Content > Elements > Blocks and choose a block you want to translate.
Note: to translate CMS block in Magento you need to create a new one. Thus, press the Add New Block button and proceed with the rest of the steps.
2. Enable a new CMS block.
3. Set the block Title and Identifier.
Note: the identifier of the translated block should remain the same as the identifier of the block you are translating.
4. Select a Store View you want this CMS block to be assigned to.
3. Translate the Content of your CMS block.
4. Press the Save Block button and check your translated block on the frontend.
Translate CMS Blocks Using Magento 2 Translation Extension
There is another option to consider if you want to optimize the process. Using Magento 2 Translation Extension, you don't need to create a new CMS block. You can add the translations to all store views you operate at once. Here are the steps you need to take.
1. Navigate to Content > Elements > Blocks and start editing the block you want to translate.
2. Move to the block's content and wrap the corresponding phrase or passage in the translation function.
3. Save the block and go to System > Translations > Search and Translate.
4. Click on the phrase you want to translate and add all the translations for your store views right in the grid.
5. Don't forget to Save the changes and check the block on the storefront.
And that's it! Here you have two methods to easily translate CMS blocks in Magento 2. It is for you to decide which one to use.
However, don't forget you have some other content to cover too. So, once you deal with the CMS blocks, make sure to translate your CMS pages.