This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is building a custom block theme with custom Gutenberg blocks, including dynamic blocks with PHP render callbacks and client-side blocks. They need to integrate WPML for translations and support multiple English locales, specifically British (en-GB) and American (en-US).
Solution:
If you're developing a custom block theme with both dynamic and client-side Gutenberg blocks and need to integrate WPML for translations, we recommend you follow these steps:
1. Review the Developers Information guide for general support on integrating WPML: https://wpml.org/documentation/support/
2. To make your custom Gutenberg blocks translatable, consult the guide on how to Make Custom Gutenberg Blocks Translatable: https://wpml.org/documentation/support/language-configuration-files/make-custom-gutenberg-blocks-translatable/
For setting up multiple English locales such as British English (en-GB) and American English (en-US), you can configure these within the WPML language settings.
If this solution doesn't look relevant to your situation, please open a new support ticket in our forum: WPML support forum
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 1 reply, has 2 voices.
Last updated by 1 year, 6 months ago.
Assisted by: Waqas Bin Hasan.