Skip Navigation

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 12 replies, has 3 voices.

Last updated by Mateus Getulio 1 year, 4 months ago.

Assisted by: Mateus Getulio.

Author Posts
July 31, 2023 at 3:04 pm #14128441

Stéphane

I am trying to:
translate url of each item in the gallery, but they don't appear in the translator.
I suspect something is missing in the xml config code

Link to a page where the issue can be seen:

If you go to translate the Global widget named "Grille projets", you'll see that the item link is not appearing for translation. (See screen shot attached)

Also, you can verify this this way:

If you go to the project grid on the english side:
hidden link
You'll see that the project "Place Monique Mercure" (4th project), point to the french side.
Note that actually, this is the only translated project.

Thanks

Capture d’écran, le 2023-07-31 à 10.31.01.png
August 1, 2023 at 8:04 am #14131115

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

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

Hi,

Generally, WPML should recognize links to internal pages and use the current language version.

Let's try this:
- Go to WPML -> Settings -> Translate Link Targets and click "Scan now and adjust links"
- If this doesn't fix the link, you should be able to translate it manually by using the search box in the Advanced Translation Editor, on the top left side of the screen

Please update me on if these managed to solve your solution.

August 1, 2023 at 1:50 pm #14134891

Stéphane

Hi Eran,

Thanks, but unfortunately, none of this works.

On another subject, I thought this ticket would be answered by Mateus Getulio, because he is the one who stated helping with this widget.

So it would be much more efficient if you could transfer that to him, he already solved another problem with this widget.

Can you do that ?

August 2, 2023 at 6:12 am #14138895

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

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

Yes, of course.
I asked him to take this ticket.

August 2, 2023 at 9:59 pm #14145023

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Stéphane,

I checked the XML in the other ticket and it includes that field for translation, I'm not sure what's happening, I need to take a closer look at this issue.

I also checked your debug info and I see that there are updates available for Elementor and Elementor Addons, can you please update both?

Also, I'd like to request access to the site again, given the fact that this is a new thread, I'm afraid I need you to submit the form again. You can add my user once more to the site and I'll create a password for it: mateus.g@onthegosystems.com.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

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 make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

August 5, 2023 at 6:20 pm #14159075

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Please check my private reply above.

Thanks,

August 6, 2023 at 11:38 am #14159817

Stéphane

Hi Mateus,

That's ready.

I created and translated 2 pages:
1- The page with the gallery is on the homepage:
hidden link
2- The result page that is inked to the gallery item:
hidden link

For your information, the result is the same as on the official website -> The link can't be translated.

Thanks for your help.

August 7, 2023 at 7:25 pm #14166053

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your efforts in replicating the issue in the Sandbox.

I have escalated this ticket to our 2nd tier of support where our 2nd tier specialists will take a deeper look at this issue and will try to find a solution.

I will get back to you as soon as I get an answer from them.

Best regards,
Mateus.

August 8, 2023 at 1:03 pm #14169433

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Thanks for your patience.

We have changed a bit the last line of the XML code, to be like this:

<field type="Filterable Gallery: Item Link" key_of="eael_fg_gallery_img_link" editor_type="LINK">url</field> 

Then, we did a minor change on the original language page hidden link, and now the links can be translated and point to their English version. For instance, we did this for the first gallery link, and it is working: hidden link

Further, I have noticed that the 'Projects' posts are not translated (or at least, the translations were not completed). I had to edit the "Métamorphoses Créatives" project, open its translation and save it. Then the link could be translated in the 'projects' page.

At last, please bear in mind that these links are internal, therefore they should be translated automatically (if the pages have a completed translation available), so there is no need to translate them manually in ATE.

After making sure that every project has an English version, you can use the 'Scan now and adjust links' option in the WPML -> Settings -> Translate Link Targets section.

Please give it another try and let us know how it goes. Thank you.

August 8, 2023 at 2:08 pm #14169857

Stéphane

Thanks Mateus,

I'm gonna try that in the live website ....

Meanwhile, I also realize that another widget I use from Essential Addons, "Off Canvas", doesn't translate links either... well, maybe it will, but I guess it is going to take me and WPML lots of time again.

So, I wanted to ask you: Why this plugin is said fully compatible with WPML, as it really needs research and coding to make some of the widgets working with WPML ?

August 8, 2023 at 6:15 pm #14171857

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

If the link is internal, then it should be automatically translated. If it is not, you can try to search for the link in ATE using this method: https://wpml.org/announcements/2020/02/translating-links-with-advanced-translation-editor/.

About the Essential Addons integration, I'm afraid this scenario sometimes is expected. Even the compatible plugins/themes might present issues at any point, mainly if new custom widgets are added in the plugin repository. Therefore, it's responsibility of the plugin authors to maintain the compatibility of their code with WPML.

Please review the info shared above and check again if you're able to translate the links. Thank you.

August 9, 2023 at 7:39 pm #14178141

Stéphane

All is fine now, thanks Mateus !

August 9, 2023 at 8:45 pm #14178333

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Glad that we were able to resolve this.

In this case, I hope we are good to close here. Feel free to contact us any time if you need assistance with our products.

Kind regards,
Mateus.