Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is working on a multi-language project using WPML and needs to create custom language codes (e.g., fr_ml for French, de_ml for German) for their website. They are concerned about how these custom codes will affect translations sent to the third-party service Lilt and whether it impacts the default locales.
Solution:
1. If you're using custom language codes, you need to inform us so we can map these codes in our proxy. Please contact us with the codes and corresponding languages. Additionally, you should notify the translation service (Lilt) to make necessary adjustments.
2. The custom language code itself does not significantly impact the process as long as it is correctly mapped. However, it might affect existing translations of plugin/theme strings that are specific to standard language codes (e.g., fr instead of fr_ml).
3. We will handle the mapping of these custom language codes in our proxy to ensure they correspond to the correct languages.

If this solution does not resolve your issue or seems outdated, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket.

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.

This topic contains 5 replies, has 0 voices.

Last updated by Dražen 1 month, 3 weeks ago.

Assisted by: Dražen.

Author Posts
February 8, 2025 at 6:50 pm #16683045

walkmew

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?

February 10, 2025 at 8:36 am #16685481

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks for contacting us.

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.

Regards,
Drazen

February 11, 2025 at 2:41 pm #16692262

walkmew

Thank you for your replay.

1. How should we contact you with the language custom codes? Is it via a support ticket?
2. How much time does it take for you to map them?

Best,
Team WM

February 12, 2025 at 6:57 am #16694193

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

yes, you can contact us via chat/ticket.

It should not take long to map, maybe 1 day until we hear back from the translation proxy team.

Regards,
Drazen

February 13, 2025 at 12:15 pm #16701883

walkmew

Thanks.

Does it also apply to changing the default locales?
e.g. from de_DE to de_ml

explanation : This is just for translation purposes, after the translations are ready to go live we will revert back to de_DE

February 13, 2025 at 1:40 pm #16702760

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

no, only language code affects this, for example, if you add custom language with custom language code.

Regards,
Drazen