Translation of blocks with WPML
-
Greetings,
Congratulations on a very clever plugin.
I am trying to use it on a site with translations, using the WPML plugin.
The block does not appear in their translation editor.
Apparently a configuration file is required.
If you are interested to read about that, please check here:
https://wpml.org/documentation/support/language-configuration-files/#gutenberg-blocks
I am trying to build a config file now for a test block and it seems to be quite easy at least for a simple text field.
Perhaps you could consider generating this file on save if WPML is present.
Thank you for your great work.<wpml-config> <gutenberg-blocks> <gutenberg-block type="genesis-custom-blocks/race-subtitle" translate="1"> <key name="race-sub-title"></key> </gutenberg-block> </gutenberg-blocks> </wpml-config>
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Translation of blocks with WPML’ is closed to new replies.