Background of the issue:
We have a site that has custom languages, for example, our main language is /au (Australian English) and it does not connect to Smartling (English / EN-US). The problem is that WPML wants to send the language code to Smartling, which we use to define our URLs. This is creating a lot of problems for us since we can’t change our language codes.
Symptoms:
WPML custom language not connecting with Smartling languages.
Questions:
Can we make it so when we send our custom /au/ language we interpret it as /en-us/ and when we receive German instead of getting it as DE-DE to receive it as DE?
Is this something we can add on our end or you guys can add?
This is Ahmed Mamdouh from the translation proxy team and I'll help you with this ticket.
In order to do the needed mapping for you, I need you to provide me with 2 things to:
1- Project ID: Go to WPML -> Support -> Troubleshooting and press "Ctrl + f" and type "icl_translation_projects" and send me a screenshot.
2- A screenshot from the languages page: Go to WPML -> Languages -> Edit Languages and send me a screenshot of this whole page to see the codes configured in the website and make the right mapping for your project.
Kindly be informed that the mapping from "au" to "en-us" and from "de" to "de-de" has been done successfully.
As long as you use the same Authentication key the mapping will be applied, no further action is needed as it's getting the same Project ID on our system.
Please let me know if you have any other questions or requests.