Not every site needs 1:1 multilanguage experience. Sometimes you want to give your visitors from a certain country a piece of information like “check my other site in your language”, or provide a brief introduction.
Multilang block was created with this idea. Of course, nothing prevents you from wrapping all the content in Multilang block, because it’s the best block out there!
這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。
- Multilang Block Create hidden content visible only for speakers of other languages
- Upload the plugin files to the
/wp-content/plugins/multilang-blockdirectory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- Insert “Multilang block” into your post or page
- Select a language for the block
- Every block INSIDE the multilang block will be visible only for people who have the selected language in
navigator.languagesof their browsers.
What can I put inside the Multilang block?
Everything. Except donuts, they get squished and the filling will be all over the place.
The block is functionally identical to the group block.
How does multilang block know what languages users speak?
Users can set up languages in the browser settings. They are passed to
Multilang block reads this list and if the language you selected is on there – block is displayed.
It stays hidden for users that don’t have that language set in browser settings.