- Status
- Open
- Reported for
- WPML Media Translation 2.7.5
- Topic tags
- Known issue
Overview of the issue
In the WPML Translation Editor, when translating a post containing images with alt tags, users may notice two alt tag fields appearing for each image. This behavior occurs because WPML distinguishes between:
- Media Library alt Tags: The
alttag assigned to an image in the media library. - Per-Post alt Tags: The
alttag assigned to an image specifically in a Gutenberg block within a post.
Both fields are expected to appear in the translation editor since they represent two distinct alt attributes.
Workaround
To avoid confusion, you can disable the “Translate media with all posts” option:
- Go to WPML > Settings > Media Translation page.
- Disable the Translate media library texts with posts option.
This will prevent the Media Library
alt tags from appearing in the translation editor, leaving only the per-post alt tags.