Overview of the Issue
When you use Advanced Ads 2.0 and translate an ad with WPML’s translation editor or the Advanced Translation Editor, the translated ad shows nothing on the front end.
The translation gets the title and the content of the ad, but not its type and options (the advanced_ads_ad_options field). Advanced Ads 2.0 does not show an ad without a type. Advanced Ads 1.x still showed it.
Workaround
Tell WPML to copy the ad settings to new translations:
- Go to WPMLSettings and open the Custom XML Configuration tab.
- Add this code and save:
<wpml-config> <custom-fields> <custom-field action="copy-once">advanced_ads_ad_options</custom-field> </custom-fields> </wpml-config> - Delete the translations of your ads that show nothing, and translate the ads again.
You can also translate ads with the WordPress editor instead of WPML’s translation editor.