Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Language was support with machine translation engine and not supported any more or got error 400

- Last time we work well when choose Arabic Iraq to deal with Kurdish Sorani on google machine engine, but now this is not run well and give us Arabic or kurdish Kurmanji translation instead.
is this a reason for that? how to fix? how we supposed to deal with Kurdish Sorani now?
- also for Dari language I got the following error while I read that it is supported from google machine translation engine:
Pretranslation from the machine translation did not complete. Detail: Google Translate API returned error 400: Bad language pair: en|prs (additional info: language pair en-prs is not supported) 

0 2 655
2 REPLIES 2

Aris_O
Former Googler

Hi @Doaafoudah,

Welcome back to Google Cloud Community.

Here are some might possible answer to your encountered issues:

  • It may be possible that revisions to the machine translation model have affected the translation quality for the first query regarding Kurdish Sorani. It's also possible that the difficulty stems from the particular text being translated or from the manner in which it is being entered into the translation engine. You might experiment with various text inputs or change the translation engine's settings to resolve this. To ensure proper translations, you can also try a different machine translation engine or human translator.
  • It may be possible that the Dari language error message you saw was brought on by the Google Translate API not currently supporting the language combination. To make sure that proper translations in this situation, you might try utilizing a different machine translation engine that supports the language pair or you could think about hiring a human translator.
  • You may also ask a question about Cloud Translation on Stack Overflow. Use the tag google-translate for questions about the Cloud Translation API. This tag not only receives responses from the Stack Overflow community, but also from Google engineers, who monitor the tag and offer unofficial support.

    - Discuss Cloud Translation the google-translate-api Google group to discuss the Cloud Translation API and receive Cloud Translation announcement and updates.
  • You can also visit the Google Cloud Slack community to discuss the Cloud Translation API and other Google Cloud products. If you haven't already joined, use this form to sign up.

    - From the Cloud Translation documentation, click the "Send feedback" link near the top right of the page. This opens a feedback form. The comments you submit will be reviewed by the Cloud Translation team.

Here are some references that might help you:

https://cloud.google.com/translate/docs/intro-to-v3?_ga=2.152466553.-1150969476.1678208220
https://cloud.google.com/translate/docs/languages?_ga=2.152466553.-1150969476.1678208220
https://cloud.google.com/translate/docs/getting-support?_ga=2.152466553.-1150969476.1678208220

Thank you