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.
Tagged: Not WPML issue
This topic contains 3 replies, has 2 voices.
Last updated by Bigul 1 year, 11 months ago.
Assisted by: Bigul.
Author | Posts |
---|---|
August 2, 2023 at 3:51 am #14138485 | |
hugyakA |
Hi, we imported the site content from Polylang and we see that the language Default locale of the Belgien content is nl_BE, but we need currently ft_BE for this, because we would like to add also the NL version in the future. |
August 2, 2023 at 8:38 am #14139959 | |
Bigul WPML Supporter since 01/2013
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hello, Welcome to the WPML support forum. I will do my best to help you to resolve the issue. We are following the WordPress global standards for the language code. The language code is unique and it will not be possible to change the language code from the *nl_BE* to *ft_BE*. Because it is stored in the database and connected with multiple tables. And also there are high chances of breaking the site if we change it directly from the database. Therefore as a workaround, you can create a new custom language Belgien with language code *ft_BE*. Then bulk duplicates the contents from *nl_BE* to *ft_BE*. Please refer to the following documentation for more details. -- Bigul |
August 2, 2023 at 3:16 pm #14143623 | |
hugyakA |
Hi, but we have already Belgian language! |
August 3, 2023 at 4:39 am #14145513 | |
Bigul WPML Supporter since 01/2013
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hello, Thank you for the updates. We can update the language names & locale from WPML>>Languages>>Site Languages by clicking the *Edit Languages* link. But we can't change the language code because it is unique. As a workaround, you can try the following steps after a full site backup{madatory} 1) Visit WPML>>Languages>>Site Languages>>Edit Languages Please try it and let us know your feedback. -- Bigul |