This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues with translating content after mapping it to English GB while using a custom language with the language code en-gb. Adding glossary terms also fails. They are further concerned about how the URL will display for different language versions and whether the system will change the URL when duplicating content for English UK.
Solution: 1. The English mapping option can only be used once and is already utilized for the site's default language. We recommend duplicating the original English content to English UK and English AU.
2. WPML will automatically handle the URL display for different language versions. Each language has a code in WPML > Languages > Edit languages, which will be used in the URL format. For example, if the site is set to "Directories per language" and you create a custom language using the code "en-gb", then English UK will be available at http://www.sitename.com/en/.
3. If you create a duplicate for English UK, you will find it at: https://www.sitename.com/en-gb/yourpage. The original site URL and other URLs will remain unchanged.
If this solution does not resolve your issue or seems outdated, we 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 the problem persists, please open a new support ticket at WPML support forum.
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.
Background of the issue:
I have set up en English GB but system will not translate why I have mapped it to English and add glossary terms for the English GB version. The site I need help with is hidden link.
Symptoms:
The system will not translate the content even though I have mapped it to English and added glossary terms for the English GB version.
Questions:
Why is the system not translating the content after mapping it to English and adding glossary terms for the English GB version?
Can you also please share with us a screenshot from inside WPML > Languages > Edit Languages > so that we can see what settings you added for that language?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Could you please send a screenshot that also shows the settings for the site's default language?
As long language code, default locale and hreflang are different between site default language (English) and your custom language (English UK) it should work.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.
You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.
IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.
The private response form looks like this: hidden link
Next time you reply, click "I still need assistance."
Video: hidden link
Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
My apologies, I see that when refreshing the page the setting reverts, and did not correctly recall this behavior at the moment, but it is still expected.
Automatic translation currently works only from the site's default language into other languages.
It is explained in our documentation that it is currently not possible to map custom language to the same language as the site's default language.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Yes, the duplicate will create a post or pages in second language with its proper ID inside the database.
The difference is, that WPML will always overwrite this duplicate once the original content was edited and saved and this way it will maintain the same content in all languages.
Apart from that, you could later on mark such duplicates as independent translations and translate them manually with the WordPress Editor.
What happens with the URL structure example I have
original hidden link
and dutch version hidden link
if make duplicate will system change URL ?
so I would like it to be example /en-GB/ for British English?
hidden link
Also should I delete the new language that I set up?
This most be a common issue in travel websites that are multilingual? why no easy solution or documentation, I understand not your fault but please log this with dev team as a serious flaw .. unless I am missing something?