This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to change the default locale, hreflang, and language mapping to Portuguese-Brazil on your website but encountered an error stating 'The default locale already exists.' You were able to change the mapping but not the locale or hreflang.
Solution:
To resolve this issue, follow these steps:
1) Activate the pre-defined Portuguese (Brazil) language on your site.
2) Go to the language settings and click to edit the languages. Initially, change the default locale for the Portuguese (Brazil) language to a temporary one, such as
pt_BRtt
, and save the changes.
3) After this, you can set the new language data with default-locale:
pt_BR
.
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. Also, check the related known issues and ensure you have the latest versions of themes and plugins installed. For further assistance, please visit our 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.
Our next available supporter will start replying to tickets in about 4.34 hours from now. Thank you for your understanding.
This topic contains 3 replies, has 2 voices.
Last updated by Andrey 4 months, 3 weeks ago.
Assisted by: Andrey.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.