Hey, I want to change the hreflang, right now it's 'nl' & 'be', we wants to change that to 'nl-Nl' & 'fr-BE' respectively, But i'm not able to change I'm getting a message hreflang already used and the capital letter are visible in capital, they are visible in small caps, Please help me with this
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
It is an international standard that the hreflang and language code are written in small caps.
The possible reason for the error that you are receiving is that WPML comes with the pre-defined language "Dutch" and this value is already assigned to this language inside the database.
A workaround, that is not really recommended, would be to go inside the database table wp_icl_language and change the default values there.
IMPORTANT: Only make sure if editing this table to NEVER change the language code, as it would destroy all connections between contents for this language.
As long the value will not exist in this table, you will be able to use it for your custom languages.
I hope this is helpful - let me know if further assistance is needed.