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.

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

Problem: I am trying to: change the link in english translation. Original language is german - link goes to german page, link in english translation should point to english page.

Solution: For now the Advance Translation Editor fetch links () as HTML only and doesn't allow to translate it. Our developers are aware of this issue but for now there is no ETA for a solution.

Relevant Documentation:

This topic contains 17 replies, has 2 voices.

Last updated by guntherK-2 2 months, 3 weeks ago.

Assigned support staff: Carlos Rojas.

Author Posts
July 18, 2019 at 12:07 pm #4238503

guntherK-2

I am trying to: change the link in english translation. Original language is german - link goes to german page, link in english translation should point to english page.

Link to a page where the issue can be seen: hidden link

I expected to see: way to change the link

Instead, I got:"Translation not saved
The original sentence includes formatting markers. However, not all markers are applied to the translation"

July 18, 2019 at 4:02 pm #4240673

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hello,
Thank you for contacting WPML support.

1.- I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. 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.

2.- Please increase the PHP Memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '128M');
define( 'WP_MAX_MEMORY_LIMIT', '128M' );

- Add it above the line /* That's all, stop editing! Happy blogging. */

Kind regards,
Carlos

July 19, 2019 at 12:48 pm #4246523

guntherK-2

I deactivated WordFence - you can now log in. Sorry. 🙂

July 19, 2019 at 12:48 pm #4246525

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hi there,
Thank you very much for the information provided.

However I tried to log in the site but the credentials seems to be incorrect. Please double check the wp-admin credentials and edit your previous (private) message if necessary.

Looking forward for your message.
Regards,
Carlos

July 19, 2019 at 1:26 pm #4246743

guntherK-2

They are correct - Wordfence was having problems with you location. Its inactive now.

July 19, 2019 at 3:35 pm #4247185

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hi,

Thank you very much for your message, however I'm still getting the error in the credentials.

Regards,
Carlos

July 19, 2019 at 3:48 pm #4247221

guntherK-2

Updated the password. Hope that helps.

July 19, 2019 at 4:08 pm #4247441

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hi,
This time I was able to log in the site.

This link is inside a contact form created by Contact Form 7 plugin. Please visit this link where you will find the steps to follow in order to translate this correctly: https://wpml.org/documentation/plugins-compatibility/using-contact-form-7-with-wpml/

Could you confirm that the issue is solved after following the steps described in the link above?
Regards,
Carlos

July 19, 2019 at 5:14 pm #4247609

guntherK-2

Well that‘s exactly what I did in the first place: follow the steps of the video.
However there is no solution to my problem in this video. Or did I miss something?

July 21, 2019 at 4:11 pm #4252709

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hi,

You missed one detail in the translation 🙂
When you translate HTML elements like a link you must translate the plain text and then select the text to apply the HTML marker, in this case you just needed to follow this steps:
- Write the translation for the text (I accept the privacy policy.*) which was done correctly.
- Then select 'the privacy policy.*' and click on the green button that appears below the translation box.

This way the Advance Translation Editor applies the same HTML markup (in this case the a tag) to the selected text.

Note: I already translated the form so you can see that it's working correctly now.

Could you confirm that the issue is solved?
Regards,
Carlos

July 22, 2019 at 8:38 am #4254923

guntherK-2

Hi!
I got that, but as I said in the subject of this threat the link in german should be different from the english link. "Different link for different language".
So "Datenschutzerklärung" should link to /datenschutzerklaerung/ and "privacy policy" should link to /en/privacy-policy/.
Right now it does not which is the reaseon why I started this threat in the first place.

July 22, 2019 at 1:01 pm #4257577

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hi,

I see the link in German pointing to /datenschutzerklaerung/ as you need. Please flush any cache memory that might exists or visit the site in incognito mode.

Does the issue persists?
Regards,
Carlos

Note: To change the /datenschutzerklaerung/ link you just need to edit the contact form.

July 22, 2019 at 1:06 pm #4257701

guntherK-2

The german link is fine - always was.
please visit the site an switch to english... the link there should point to /en/privacy-policy/ (and not to /datenschutzerklaerung/).

July 22, 2019 at 3:49 pm #4259673

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hi,
Thank you for your answer.

I though I have seeing the English translation correctly, but I was wrong. I consulted our specialists about this issue and for now the Advance Translation Editor fetch links (<a>) as HTML only and doesn't allow to translate it. Our developers are aware of this issue but for now there is no ETA for a solution.

As a workaround you can create a second Contact Form with CF7, this time in English and when translate the page add the shortcode that corresponds to this new contact form.

I'm sorry for the confusion.
Best regards,
Carlos

July 23, 2019 at 8:26 am #4263821

guntherK-2

My issue is resolved now. Thank you!