Skip Navigation

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

Problem:
The client was experiencing issues with duplicate translation fields in the WPML translation backend when translating a page from German to English. Additionally, there was a problem with the Complianz Plugin where the text of the cookie consent banner was not updating in WPML.

Solution:
For the issue with duplicate translation fields:
1. Navigate to WPML -> Settings -> Custom Fields Translation.
2. Search for

mfn-page-items-seo

and set it to "Don't translate".
3. Edit one of the pages where the issue occurs, make a minor modification in the original page, such as adding an extra space.
4. Update the translation.

For the issue with the Complianz Plugin's consent banner text not updating:
1. Go to Complianz and switch to English in the admin top bar.
2. Navigate to Consent Banner > Text > Cookie Message.
3. Save the German text in a notepad, edit the text in there, and save it as an English text.
4. Go to WPML -> String Translation and search for part of the banner, e.g., 'To provide you with an optimal', and mark the option 'Include Translation'.
5. If the string is in another language, select it and change it to English/en.
6. Add the German text that you saved before as a translation.

If these solutions do not resolve your issues or if they seem irrelevant due to being outdated or not applicable to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please contact us in the WPML support forum at https://wpml.org/forums/forum/english-support/.

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 topic contains 4 replies, has 2 voices.

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

Assisted by: Mateus Getulio.

Author Posts
April 2, 2024 at 9:37 am #15471762

danielK-19

Hi There,

Translating this page from German to English it shows all the translation fields double in the WPML translation backend. For now this is OK, as only the developers are working on the site. But end of the week we will be transfering the site to the company – by then we would like it to show properly – the translation only once.

We are using WPML and the BeTheme and before being able to start translation, I had to take these steps to make the translastion fields visible at all: hidden link

Could you please help me – if you tell me how, I will be happy to give you access, as the pages are now still in draft modus.

Many thanks and best regards,

Daniel

April 2, 2024 at 7:30 pm #15474922

Mateus Getulio
Supporter

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

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

Hello Daniel,

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.

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.

April 3, 2024 at 11:15 am #15477679

Mateus Getulio
Supporter

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

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

Hello there,

I checked it and the double fields in ATE were coming from this custom field: mfn-page-items-seo. Since this field isn't needed for translating the page, I fixed this issue by following the steps:

- Go to WPML -> Settings -> Custom Fields Translation
- Search for mfn-page-items-seo and set it to the default "Don't translate"
- Edit one of the pages where the issue happens, make a minor modification in the original page, like adding an extra space
- Update the translation

After doing it, I was no longer able to replicate the issue with the duplicated fields.

Please give it a try and let us know the results.
Mateus

April 3, 2024 at 2:38 pm #15479024

danielK-19

Hi Mateus,

Thank you so much for your quick help – that worked.

Now I only have one more little problem – in the Complianz Plugin I´ve changed the text of the coockie consent banner (see Complianz-Screenshot) – but it doesn´t transport to WPML where it is shown with the old text (see WPML-Screenshot).

Could you please help me here too?

I´ve already tried everything, clearing all caches and includings this tipp https://wpml.org/forums/topic/can-i-change-the-text-of-the-original-english-string/ but nothing seems to work.

Thank you very much
and best regards,

Daniel

Bildschirmfoto-2024-04-03-um-16.31.47.jpg
Bildschirmfoto-2024-04-03-um-16.32.35.jpg
April 3, 2024 at 8:39 pm #15480460

Mateus Getulio
Supporter

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

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

Hello there,

I was able to translate the Consent Banner by following these steps:

- Go to Complianz and switch to English in the admin top bar
- Go to Consent Banner > Text > Cookie Message
- Save the German text in a notepad for you to use it later, edit the text in there and save it as an English text
- Go to WPML -> String Translation and search for part of the banner eg.:'To provide you with an optimal', mark the option 'Include Translation'
- If the string is in another language, select it and change it to English/en
- Add the German text that you saved before as a translation

Now when I check the front end I can see both consent banners for each respective language.

Can you please check it and tell us if it's working as expected now?

Thank you, please let us know.
Mateus

April 4, 2024 at 8:07 am #15481381

danielK-19

Hi Mateus,

Thanks for your promt help – and the explanation of the steps, how you got there. That for sure will be a great help for the future.

As for me – mission accomplished!

Best regards,

Daniel