I'm trying to use WP Download Manager with WPML. I upload a file in download manager plugin as "English PDF" and upload the translated file "French PDF".
Download manager generate 2 different Shortcode to add in the page :
English PDF : [wpdm_package id='197']
French PDF : [wpdm_package id='198']
If i translate the page with ATE i can't see the shortcode and ID translation is not automatic.
I tried to add custom xml configuration but i don't succeed.
We need to replicate this issue on a fresh WordPress installation. Then if needed, we will escalate it to our compatibility team. For this, I created a test website with a clean WordPress install. You can access it through this link:
hidden link
With this link, you'll be directly logged in.
I've already configured WPML on this site and installed the Download Manager plugin. The site's default language is English, and the second language is French.
Please create a new Download post in English and translate it into French. Then check if you can replicate the problem.
Please let us know when everything is finished, and you can replicate the problem. One of our supporters will continue to help you with this issue.
I've prepared a file in wpdm and its translation in french.
Then created a page with wpdm shortcode for english file.
I tried to translate this page in french but shortcode is not automatically translated nor available to manual translation in ATE.
After adding the custom XML configuration code to WPML > Settings > Custom XML Configuration tab, to register the shortcode for translation. You can go to WPML > String Translation to translate the shortcode ID attribute manually. Please check this screenshot hidden link
By default, the numeric value is not allowed to translate. If you want to translate it in ATE, please add this code to the file functions.php in the theme/child theme folder.
❌ IMPORTANT: Please backup your database and website before proceeding ❌