Skip to content

Translations

Pedro Vidal edited this page Sep 22, 2026 · 1 revision

Translations

PV Blocks Suite is fully translatable (text domain pv-blocks-suite). Included out of the box:

  • English — the plugin's own source strings, used automatically whenever no translation is loaded for the site's active language.
  • Portuguese (Brazil) — pt_BR, both the editor UI (block names, descriptions, Inspector controls) and the front-end output.

WordPress picks up the right translation automatically based on the site's own language setting — nothing to configure in the plugin itself.

Adding another language

Generate a .pot template with:

wp i18n make-pot . languages/pv-blocks-suite.pot

and translate it with any gettext editor (e.g. Poedit), using languages/pv-blocks-suite.pot in the repository as the starting point.

Clone this wiki locally