"In WordPress Block Themes (also known as Block Themes or Full Site Editing Themes), the traditional method of inserting PHP code directly into template files (such as functions.php, header.php, etc.)
https://selebes.com/tutorial/polylang-borrows-wordpress-shortcode-hand-the-case-of-custom-translations-in-block-theme-unlocking-the-power-of-the-polylang-plugin-part-2/
https://selebes.com/tutorial/polylang-borrows-wordpress-shortcode-hand-the-case-of-custom-translations-in-block-theme-unlocking-the-power-of-the-polylang-plugin-part-2/
selebes.com
Polylang Borrows Wordpress' “Shortcode” Hand - The Case of Custom Translations in Block Theme - selebes.com
Discover how to create custom translations in WordPress Block Themes using Polylang and shortcodes. Enhance multilingual functionality with a touch of PHP.
