- Status
- Resolved by author
- Resolved in
- Salient 16.2.0
- Related plugin/theme
- Salient
- Topic tags
- Compatibility
Overview of the issue
If you are using Salient theme, you will experience that content within “Nectar Video Player” and “Badge” widgets is not available for translation in WPML’s Advanced Translation Editor (ATE).
Workaround
Please, make sure of having a full backup of your site before proceeding.
- Go to WPML > Settings > Custom XML Configuration page.
- Add the following XML for the Nectar Video Player widget:
<wpml-config> <shortcodes> <shortcode> <tag>nectar_video_player_self_hosted</tag> <attributes> <attribute>video_mp4</attribute> <attribute>video_image</attribute> </attributes> </shortcode> </shortcodes> </wpml-config> <wpml-config> - Or this one for the Badge widget:
<wpml-config> <shortcodes> <shortcode> <tag>nectar_badge</tag> <attributes> <attribute>text</attribute> </attributes> </shortcode> </shortcodes> </wpml-config>