Translating Gutenberg blocks is really straight forward by using TranslatePress. In this tutorial we’ll focus on how to translate Gutenberg blocks of any type, including headings, paragraphs with different formatting, quotes, lists, buttons and more. Gutenberg is the new editor for WordPress, which will make it to core in WordPress 5.0, and has a strong impact on the whole publishing experience. It seeks to make it easy for anyone to create rich, flexible content layouts.
Gutenberg blocks are a great tool for building and styling different types of content, without having to write a single line of code. If you’re looking to make your site available in multiple languages, you need a simple way to translate the content from each Gutenberg block.
How to Translate Gutenberg Blocks
To enable Gutenberg simply install and activate this free plugin.
Now let’s add a new post that contains some of the most popular Gutenberg blocks.
As you noticed I added a paragraph with formatting, multiple headings, a quote block, a list and a button.
All that’s left is to download and install TranslatePress and translate each one of them. For this example we’ll add French as a
Source: https://managewp.org/articles/17965/translate-gutenberg-blocks-in-wordpress
source https://williechiu40.wordpress.com/2018/10/11/translate-gutenberg-blocks-in-wordpress/
No comments:
Post a Comment