Skip to content

Multilingual

Lazy Blocks provides built-in WPML compatibility for text-based controls, allowing you to translate your custom blocks content alongside other WordPress content.

Setting Up Translation

1. Enable Control Translation

Each control needs translation enabled manually:

  1. Edit your block
  2. Find the control you want to translate
  3. Enable the WPML Translation toggle
Enabling WPML translation for a control

2. Translate Content

Once your blocks are translation-ready:

  1. Open the page with your block
  2. Find the Language settings in the Page panel
Page translation panel in WordPress
Access page translation options

3. Manage Translations

Use WPML's interface to translate your block content:

WPML translation interface
Translate block content in WPML

4. View Results

Your translated block will appear in the selected language:

Page with translated block content
Block content displayed in different language

Remember to enable translation for each control you want to translate - it's disabled by default for better performance.

Was this article helpful?