Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

Simple Download Monitor plugin - the link in the translation is not working

Solution:

The user had our Blog subscription, a limited version without Strings Translation. The Simple Download Monitor plugin Is not officially compatible with WPML. So it might be a problem.

It is worthwhile to try to preserve the URL arguments. You can read about preserving URL arguments here.

https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/preserve-url-arguments-when-switching-languages/

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 16 replies, has 2 voices.

Last updated by Itamar 1 year, 7 months ago.

Assisted by: Itamar.

Author Posts
December 4, 2023 at 7:36 am #14982479

sarahJ-5

I’m having an issue with a plugin called Simple Download Monitor on my multilingual site and they have suggested I contact you for a possible solution. The Simple Download Monitor plugin is for managing downloads on my site. The download buttons work fine on my English posts, however they aren’t working on the Spanish posts.

December 4, 2023 at 8:44 am #14983191

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Please reply to this ticket if you need more help with the Simple Download Monitor plugin issue.

In this case, please also share your site's Debug information.

You can read about it here.

http://wpml.org/faq/provide-debug-information-faster-support/

Regards,
Itamar.

December 4, 2023 at 10:53 am #14985403

sarahJ-5

Hi, just to let you know that changing the language format to directories has solved the issue! I do have a question about this change in URLs, however. I have pdf marketing material that contains links in the old parameter format - what will happen to them now? Will they continue to work? Will they redirect? Or will they be broken links now? I guess I'm asking if I now have to change all the links in my marketing material or not. Thanks!

December 4, 2023 at 11:00 am #14985537

sarahJ-5

Also the internal links haven't updated automatically. The menu links are all working fine, but none of the links I have added in buttons have updated. I have a lot of internal links on the site, so manually updating them all will take a very long time. Is there any way of solving this? Thanks so much.

December 4, 2023 at 3:22 pm #14988607

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

You asked:

I have PDF marketing material that contains links in the old parameter format - what will happen to them now? Will they continue to work? Will they redirect? Or will they be broken links now?

I assume that this is an external PDF.

Can you please test the links from the PDF and tell me what happens with them when they open in the browser?

In general, I would say you better change the link in the PDF to the new and corrected links.

You also wrote:

Also the internal links haven't updated automatically.

Please try the following.

1. Go to WPML -> Settings -> Translate Link Targets.
2. Press the "Scan now adjust links" button and wait for the process to finish.
3. check if it solved the issue.

If not, you must update translated posts and pages to correct this issue.

If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

December 4, 2023 at 4:10 pm #14989271

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, and thanks for the access details.

With your WPML Blog subscription, it seems there is no other option but to manually insert the new links on the editing screen in Spanish. Please see the attached screenshot.

If you want me to explore other options (which I'm unsure exist), please change the role of my user to the administrator role.

Regards,
Itamar.

2023-12-04_18-05-41.jpg
December 4, 2023 at 4:19 pm #14989373

sarahJ-5

Hi! Thanks so much for taking a look. I've updated your role to administrator just in case there is a way to avoid having to change everything manually, although I understand it may not be possible. I really appreciate your help!

December 5, 2023 at 2:57 pm #14999791

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Thanks.

I checked things on your site. I tried to enable a few options that I thought might help. And I ran WPML's troubleshooting option in WPML -> Support -> Troubleshooting. Unfortunately, it didn't correct the links issue. It didn't change them from ?lang=es to /es/. I went ahead and tested the same scenario on a test site. And I still got the same behavior. Therefore, I'm sorry, but you will need to correct the links manually. This is a limitation of our Blog subscription. To avoid this in the future, please consider upgrading your Blog subscription to our Multilingual CMS subscription. You will only need to pay the difference.

While checking your site, I found another issue. When updating the original page and pressing the Update button, the icon next to Spanish does not change from the pencil icon to the circled arrow icon to designate that the translation needs an update. This is what we explain in our guide here.

https://wpml.org/documentation/getting-started-with-multilingual-blog/#how-to-edit-or-update-a-translation

You didn't complain about this problem, but I could confirm this on my test site. I'm escalating this issue to our second-tier supporters.

Please let me know if you have any further questions.

Regards,
Itamar.

December 6, 2023 at 6:34 am #15003937

sarahJ-5

Thanks so much for all this and trying to solve the links problem. I hadn't actually realised that there was the other issue so I appreciate you flagging that up!

December 6, 2023 at 8:44 am #15004937

sarahJ-5

Sorry - just noticed another problem in the change to language by directories: I've lost all the tag information for my posts in Spanish and a lot of the Categories as well. The categories and tags still exist, but the posts have lost all that information. Reassigning the categories information to each post isn't such a problem, but for the tags it really is. I have a lot of posts and each one had multiple tags - going back and adding the tags manually for each one is going to be very time consuming. Is there any way to recover that information? Thanks.

December 6, 2023 at 8:56 am #15004971

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Can you please tell me where and how I can see this tags problem?

It would be great if you could also send me a screenshot showing the problem.

Regards,
Itamar.

December 6, 2023 at 9:41 am #15005473

sarahJ-5

Hi, yes - under "Posts" in the Spanish version. I've attached a screenshot for you. I started to update the categories info for the first few posts on the list until I realised the extent of the missing info. If you switch to the English posts you'll see that the tags and categories info is all there - it's just all been lost for the Spanish posts.

missing categoreis-tags info.jpg
December 6, 2023 at 11:04 am #15006735

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Are you sure this problem started after changing the Language URL format from "Language name added as a parameter" to "Different languages in directories"?

As far as I can see, most of your post tags are not translated. And I don't think that the change of the Language URL format caused them to be untranslated. I checked it in WPML -> Taxonomy Translation and selected "Tags". Please see the attached screenshot no-tag-translation.jpg.

Maybe I'm missing something, but I want also to mention the following. As far as I can see, you don't display the post tags on the front end of your site. I don't see the tags on the post's page. I don't see the tags archive pages in the menu of your site. Please see the attached screenshot main-menu.jpg. And I don't see the tag widget in your site's sidebar. Please see the attached screenshot sidebar.jpg.

Are you planning to display the post tags on your site in the future?
I ask this because otherwise, I find it hard to understand why you need tags for your posts.

Regards,
Itamar.

main-menu.jpg
sidebar.jpg
no-tag-translation.jpg
December 6, 2023 at 11:48 am #15007155

sarahJ-5

Yes, this has definitely happened since changing the language URL format. I need the tags for filtering my posts to display on different areas of my site. I provide resources for teachers and I have a "Themes" page, for example, where my my visitors can see my posts divided into different themes such as "Animals" or "Food". I use the tags to filter the posts accordingly. So although I don't have them displayed on the front end, the tags are essential for the internal structure of my site. If it's not a WPML issue then I'll just have to update them manually, but the tags were definitely working fine on the Spanish posts before I made the change.

December 6, 2023 at 1:51 pm #15008447

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

I see.

Do you need the tags translated or copied to the Spanish posts?
If you only need them copied over, try the option in WPML -> Support -> Troubleshooting -> Synchronize post taxonomies (for posts). Please see the attached screenshot. The option will assign the same taxonomy terms as the source for each post-translation.

Going back to the start of this thread, I want to remind you that I suggested another option to try to fix the problem with the Simple Download link to download the file. This option is called "Preserve URL arguments". It is in WPML -> Languages -> Language switcher options. Please see the attached screenshot. You can read about it here.

https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/preserve-url-arguments-when-switching-languages/

Have you tried this option before switching the Language URL format to language in directories?

2023-12-06_15-43-17.jpg
Screenshot 2023-12-06 153725.png