Improve WPML compatibility for XLIFF-based features #665
Labels
feature request
New feature request
research
This is not and issue but and improvement that needs research
Describe your feature request
WPML has certain features such as their Advanced Translation Editor, automatic translations and third-party translation service integrations which depend on it extracting content into XLIFF files which are then sent for processing to OnTheGoSystems or third parties.
As you can imagine, WPML has trouble with extracting content from Eightshift blocks. During discussions with WPML about improving our compatibility with these features, they referred me to a chapter in their documentation on language configuration files about the ability to provide configuration for translation of block attributes
This looks like it could solve our issues with WPML compatibility and improve our editors' UX, but we should research what is the best way to do this with Eightshift.
Describe the solution you'd like
I'm not sure at this point what would be the best solution.
Ideally, we'd find a way to automatically generate WPML language configuration files by adding a
translatable
key to block/component manifests. However, I'm not sure that'll be possible due to component composition, or performant. I might be mistaken, though: I haven't done too much exploration on this.Otherwise, I think that we could add WPML support in two ways:
...Content
attributes are translateable by default.Please let me know your opinions on this.
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in this repo.
No
Please confirm that you have searched in our documentation and couldn't find the answer.
No
The text was updated successfully, but these errors were encountered: