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 3 replies, has 2 voices.

Last updated by Ahmed Ibrahim 1 year, 3 months ago.

Assigned support staff: Ahmed Ibrahim.

Author Posts
May 23, 2018 at 10:19 pm #2218843

Patrick Cruz

I am trying to:

submit a custom language to SDL via API but i'm getting this error:

Batch # 1
(3) This service does not support the following iso-codes: fr-fr
Rollback jobs...
Batch rolled back

Link to a page where the issue can be seen:

hidden link

I expected to see:
success
Instead, I got:
rollback

May 24, 2018 at 4:34 pm #2224533

Ahmed Ibrahim
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi, and thanks for contacting our support forum.

The custom language that you are trying to use is not supported by our TP server (the middleware service between WPML and SDL) so why you are not using the default French language from WPML with the language code "fr"

Best Regards.

May 24, 2018 at 4:55 pm #2224551

Patrick Cruz

We decided to make our folder structure consistent with language-country.

which resulted into fr-fr or ja-jp or es-mx

is there any reason why your TP server cannot allow these?

Thanks!

May 25, 2018 at 11:25 am #2228778

Ahmed Ibrahim
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi, and thanks for your reply.

I have checked with our developers and they agreed to add the missing codes to our TP server, here you can find the languages codes that have been configured to SDL service: hidden link

I have checked your debug info, and as I can see that you are using 20 languages, some of them have been defined already, and you will find them in the following list:

WPML code Mapping on TP SDL Code
en en -> EN-US EN-US
pt-br pt-br -> PT-BR PT-BR
en-gb en-gb -> EN-GB EN-GB
en-au en-au -> EN-AU EN-AU
ar-sa ar-sa -> AR-SA AR-SA
es-mx es-mx -> ES-MX ES-MX
zh-cn zh-cn -> ZH-CN ZH-CN

And these codes are not mapped yet on our TP server:

cs-cz
da-dk
nl-nl
fr-fr
it-it
ja-jp
ko-kr
no-no
pl-pl
ru-ru
en-sg
es-mx
sv-se
tr-tr
de-de

So can you please let us know what is the mapped codes for the previous list on SDL so we can add the mapping for them?

Best Regards.

The topic ‘[Closed] I'm getting an error on submitting custom language’ is closed to new replies.