Skip Navigation

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

Last updated by Ahmed Mamdouh 5 months, 3 weeks ago.

Assisted by: Ahmed Mamdouh.

Author Posts
May 13, 2024 at 1:13 pm #15621097

mattD-14

TransPerfect - map languages

May 13, 2024 at 4:59 pm #15622061

mattD-14

I realized that I provided the information for our production environment. We need these mapped in our development environment first in order to test the implementation there.

May 13, 2024 at 5:38 pm #15622161

Itamar
Supporter

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

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

Hi,

Please send me the link to your development site.

Also, I'm not entirely sure what you need.

Doesn't TransPerfect have those languages already mapped?
Can you please elaborate on the reason for this request?

Regards,
Itamar.

May 14, 2024 at 8:14 am #15623817

Ahmed Mamdouh
Supporter

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

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

Hello,

This is Ahmed Mamdouh from the translation proxy team and I'll help you with this issue.

I need you to provide me with 2 things to solve this issue:

1- Project ID: Go to WPML -> Support -> Troubleshooting and press "Ctrl + f" and type "icl_translation_projects" and send me a screenshot.

2- A screenshot from the languages page: Go to WPML -> Languages -> Edit Languages and send me a screenshot of this whole page to see the codes configured in the website and make the right mapping for your project.

Best regards,
Ahmed Mamdouh.

May 14, 2024 at 6:26 pm #15626777

mattD-14

Hi, Ahmed,

For number 1, when I do the search for "icl_translation_projects", nothing is found.

I've added the image for the languages here.

WPML Languages.JPG
May 14, 2024 at 6:55 pm #15626813

Ahmed Mamdouh
Supporter

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

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

Hello,

Thanks for providing the screenshot, but we need to know the Project ID, If your website is connected to TransPerfect, you should find the project ID.

Could you please provide me with the website credentials to allow me to check the website and get the project ID?

I set your next reply as private to safely share the credentials.

Best regards,
Ahmed Mamdouh.

May 15, 2024 at 7:21 pm #15632113

Ahmed Mamdouh
Supporter

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

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

Hello,

Thanks for providing the needed information.

I checked the website and I found that you didn't authenticate trasnPerfect yet, and that's why you can't see the project ID, because the project ID is initiated once you successfully authenticate the translation service.

So please authenticate TransPerfect and then provide me with the Project ID to be able to do the mapping for your project.

Best regards,
Ahmed Mamdouh.

1715800873940.png
May 16, 2024 at 3:37 pm #15636039

mattD-14

[icl_translation_projects] => Array
(
[7d9344890c5d278d56e6c5f755698a80] => Array
(
[id] => 18377

May 16, 2024 at 4:30 pm #15636207

Ahmed Mamdouh
Supporter

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

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

Hello,

Kindly be informed that I added the mapping from UK to en-gb for your project.

Best regards,
Ahmed Mamdouh.

May 17, 2024 at 11:41 am #15639347

mattD-14

once we have checked it looks like the language code still shows 2 letters. We need to change languages from 2 to 4 letters.

URL:
hidden link

Language to map as below (all should be lowercase):
Language name WPML/TP Language code
German (Germany) de-de
English, UK en-gb
English, US en-us
Spanish, Spain es-es
French, French fr-fr
Japanese (Japan) ja-jp
Korean ko-kr

May 20, 2024 at 11:18 am #15645242

Ahmed Mamdouh
Supporter

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

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

Hello,

Let me explain the mapping briefly, the mapping is not changing anything in the website because changing the language codes in the website may cause errors and corruptions instead, we are making the mapping within the sending process so for example, if you send any job to be translated from the website from uk to es, the translation service will receive it as en-gb to es-es, but nothing will be changed in the website.

So please try to send the jobs to translation and check the source and the target language on the translation service side not on the website.

Best regards,
Ahmed Mamdouh.

mattD-14 confirmed that the issue was resolved on 2024-05-17 18:10:46.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.