I need to add a custom "language" name titled Canada with code "ca"
The problem is, I try to click "edit languages", "add language", fill out the details, press save and it says the CA language code already exists.
1] "Canada" does not show under "Add/Remove Languages" section
2] I may have added CA when I first installed WPML and then deleted. Not sure if this is causing an issue
3] I've added custom "UK", "AU" and "USA" languages just fine, but I cannot add "CA" for some reason
Languages: English (English )Spanish (Español )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello, welcome to the WPML support Forum!
The issue here is that "CA" is the official lang code for "Catalan" and that is why WPML tells you that this already exists and you can't use it.
So, as a workaround, if you want to use "CA" as a language code would be to add the "Catalan" language and then edit the name and all the other properties in "Edit" languages.
Please let me know if it worked for you.
All the best,
Diego
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.