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

Last updated by Translate Media 1 month, 1 week ago.

Assigned support staff: Ahmed Ibrahim.

Author Posts
February 21, 2020 at 10:34 am #5539309

Translate Media

I am trying to send content for translation from English to Portuguese to TranslateMedia and am getting the following error:

This service does not support the following iso-codes: pt-pt

I've spoken to the dev team and they think it's an issue with WPML rather than TranslateMedia as the language code is set up here.

Any ideas?

February 21, 2020 at 11:46 am #5540025

Ahmed Ibrahim
Supporter

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

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

Hi and thanks for contacting our support forum.

Can you please send me your site URL with a screenshot to the language table at WPML -> Languages -> Edit languages page.

Best regards.

February 21, 2020 at 1:42 pm #5541175

Translate Media

Hi. It's a site in development here;

hidden link

And here's the language page.

February 21, 2020 at 2:25 pm #5541549

Ahmed Ibrahim
Supporter

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

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

Hi,

Thanks for the info, I will add a mapping for the language "pt-pt" in order to work correctly, but can you please let me know what is the language code that you expect at the service, is it also "pt-pt" or "pt" ?

Best regards.

February 21, 2020 at 4:31 pm #5542735

Translate Media

We're looking for pt-pt at our end too. Although we can do pt as well.

February 24, 2020 at 10:07 am #5552929

Ahmed Ibrahim
Supporter

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

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

Hi,

I haven't applied any fix yet, so I will add it as pt-pt, but I see in all other languages that you use, if it is 4 characters language, you add the second two characters capital letters, so should I map it as "pt-pt" or "pt-PT"?

Best regards.

Best regards.

February 24, 2020 at 10:10 am #5552937

Translate Media

The error is specifying pt-pt lower case so please just add that. Thanks.

February 24, 2020 at 4:33 pm #5556337

Ahmed Ibrahim
Supporter

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

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

Hi,

Thanks for the confirmation, I have sent the info to the dev team, and they will add it soon and I will confirm with you once they add it.

Best regards.

February 25, 2020 at 3:14 pm #5564099

Ahmed Ibrahim
Supporter

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

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

Hi,

We haven't found the language "pt-pt" at your service codes here: hidden link we only found "pt" so I mapped the language to only "pt" to avoid errors, so please try again to send the content and let me know if it works for you.

Best regards,
Ahmed Ibrahim.

February 25, 2020 at 4:26 pm #5564697

Translate Media

My issue is resolved now. Thank you!