Skip Navigation

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

Problem:
The client is experiencing an issue when trying to send translation jobs to Crowdin using WPML. The error message received is 'Sending for translation failed. The jobs could not be created.' This occurs when selecting a page for translation and setting the method to 'assign translation service'.
Solution:
1. Ensure that the language mapping is correctly set up in Crowdin. Go to Crowdin's project settings, navigate to the Languages section, and click on the Language Mapping button. Create a rule for the Spanish language with the placeholder 'locale' and the custom code that matches WPML's code for Spanish.
2. After setting up the language mapping, attempt to create a translation job again.
3. If the issue persists, check the communication log in WPML by navigating to WPML->Support and clicking on the communication log link. Share this log with us for further analysis.
4. Test with a new sample page containing just a title and one line of text to see if the issue is specific to certain pages or posts.

If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If problems persist, we highly recommend opening a new support ticket for personalized assistance.

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 4 replies, has 1 voice.

Last updated by jordanP-2 3 weeks, 4 days ago.

Assisted by: Itamar.

Author Posts
April 18, 2025 at 10:56 pm #16948333

jordanP-2

Background of the issue:
I am trying to test out Crowdin on behalf of my client to understand how the process works. I have a free trial from Crowdin, added it as a service to WPML, and provided the API token Crowdin provided. I see confirmation that Crowdin is an active service. The issue can be seen at: hidden link.

Symptoms:
When I select a page for translation and set the method to 'assign translation service,' I get an error message: 'Sending for translation failed. The jobs could not be created.'

Questions:
Why am I receiving an error message when sending translation jobs to Crowdin?
How can I successfully send translation jobs to Crowdin using WPML?

April 21, 2025 at 9:09 pm #16952749

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

Please go to WPML->Support-> On this page, click the communication log link. Copy the information from the log and share it with us.

Also, is this happening with all pages/posts or specific ones only?

What are your results if you create a new sample page with just a Title and one line in the body ?

April 22, 2025 at 6:23 pm #16957000

jordanP-2

Looks like it might be a Crowdin issue. I'll review with them, but I would still appreciate your input.

I've tried it with a handful of pages and posts. I tried creating the sample page you suggested and got the same result.

Thank you!

April 23, 2025 at 10:14 am #16958874

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I'll continue to help you with this issue.

I'm consulting our Translation Service expert about this issue. Meanwhile, please share the access details to your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

April 23, 2025 at 11:53 am #16959507

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Our Translation Service expert says that everything seems to be all right from our side. Therefore, he asks, as I already requested, for the access details to your site so that he can check things further.

If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

April 23, 2025 at 10:27 pm #16962186

jordanP-2

Hi Itamar,

I heard back from Crowdin support and they guided me on the final steps. I'll share it, in case anyone else has this problem.

You need to set the Language mapping in your project on the Crowdin side: Settings-> Languages section -> the Language Mapping button.
Please create a rule based on the custom code that WPML requires for Spanish with the placeholder 'locale'. For example:
Language: Spanish
Placeholder: locale
Custom code: __ (please check how it is dispalyed on the WPML side and use the proper value)

Once saved, you can try creating a translation job again and everything should be delivered to Crowdin.

---

I'm translating English into Spanish. I went to WPML > Languages > Edit Languages. The Code for Spanish in WPML is "es" so I put that in the "custom code" field in Crowdin. That fixed my problem.