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
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.