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.
Tagged: Documentation request, Translation Service
This topic contains 8 replies, has 3 voices.
Last updated by ivanS-69 1 year, 4 months ago.
Assisted by: Ahmed Mamdouh.
Author | Posts |
---|---|
July 19, 2023 at 2:22 pm #14067033 | |
ivanS-69 |
We want to create a language for the Portuguese language. Currently, there are 2 options: Portuguese (Brazil) and Portuguese (Portugal), with the language codes '/pt-br/' and '/pt-pt/'. We'd like to have a language with the language code '/pt/' only. We couldn't succeed in doing it on our own since the content fails to be sent to the translation service. I read recently in the docs that there's something you need to enable from your side. Can you help us with the issue? |
July 20, 2023 at 5:10 am #14069141 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi there, For a custom language to work with automatic translation, you need to perform a language mapping so the automatic system understands which language to translate to. For more information: Thanks. |
July 24, 2023 at 3:38 pm #14091081 | |
ivanS-69 |
Hi Christopher. Even after mapping the language, it seems like wpml has trouble recognizing it as the Portuguese language. Is there anything else I should do in order for it to work? |
July 25, 2023 at 8:28 am #14093813 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi there, Let's check on your website. I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website. Make sure you set the next reply as private. |
July 26, 2023 at 8:18 am #14100847 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Also it would be helpful if you provide a screenshot of WPML Languages page to see if we can find a clue. thanks. |
July 26, 2023 at 3:08 pm #14105401 | |
ivanS-69 |
Hi Christopher. |
July 27, 2023 at 6:28 am #14107813 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi there, Sure thing. please get back to us if you need our help. |
July 27, 2023 at 12:25 pm #14110709 | |
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 ticket. As I can see in the screenshot you provided, the Portuguese language code on the website is "pt", and you want it to be received as "pt-pt" in Smartcat. So I added the needed mapping from "pt" to "pt-PT" and this should solve the issue, please try to resend the jobs again and let me know how it goes. If you still have an issue sending the pages, please send me a screenshot of the error you see to check it. Best regards, |
August 1, 2023 at 9:36 am #14132335 | |
ivanS-69 |
Hello! |