WordPress recently introduced the concept of Site Editing (formerly known as Full Site Editing or FSE). With the Site Editor, you can build every part of your site using blocks when you use a compatible block theme.
The Site Editor (also known as Site Editing) is WordPress’s long-term vision for building sites, expanding the block editor to eventually be able to build headers, footers, widgets, templates, and more.
Because WPML has already been compatible with the Gutenberg block editor since it was first introduced, you can count on WPML to be fully compatible with the Site Editor.
Read more about translating content created using the Gutenberg Editor.
WordPress 5.9 introduced templates to the Site Editor. These templates come from one of the compatible block themes. You can access your site’s templates by going to Appearance → Editor and clicking the WordPress logo in the upper left corner.
Before you can translate a Site Editor template, you first need to save it.
This requires you to edit the template by making a small change to it or by customizing it. Alternatively, you can create new templates.
It’s important to note that any changes you make to a template apply to any page or post assigned to it.
Once you edit a template and save it, those changes are saved to your site’s database. This means that you can translate the edited templates by going to WPML → Translation Management. Choose the Template post type from the dropdown menu, and select the templates you would like to translate.
Just like with any other post type, you can choose to translate it yourself, assign it to a translator, or send it to a professional translation service. You can even translate your templates automatically using the Translate Everything mode.
Using WPML’s String Translation, you can translate some additional texts coming from the theme templates. This includes texts like:
- The site’s tagline
- Texts for the call to action buttons
- Error codes or messages
To start, register the strings for translation. You can do this by going to WPML → Theme and plugins localization and scan your theme for strings.
After scanning your theme, go to WPML → String Translation and search for the text you want to translate. Then, click the plus sign to add your translations.