Background of the issue:
We are working on a multi-lang project, with the help of WPML, for our website hidden link. For this, we are required to create custom language codes, for example, instead of fr for French we might be using fr_ml, similarly de_ml for German etc.
Symptoms:
No specific issue or error message mentioned.
Questions:
Can you help us understand how will this affect the translations which need to be sent to the 3rd party service Lilt?
What role does the language code play while sending the articles or pages for translation to Lilt through WPML installed on a website?
How can you help us with the translations if we use the custom language code as stated above in the example?
1) If you are using custom language code, these would need to be mapped in our proxy by us, you can contact us with codes and languages, and you would need to report this to the Translation service so they can also adjust it if needed.
2) It does not play many roles, as long it is mapped correctly. What can affect is already existing plugin/theme strings translation, since these are for fr and for fr_ml language.
3) All we have to do is to map in our proxy, those language codes correctly to the correct language.