Bug 494045

Summary: Persian translation does not work.
Product: [Applications] Crow Translate Reporter: iMaaN <imaan021no>
Component: generalAssignee: Gena <genaloner>
Status: RESOLVED DUPLICATE    
Severity: normal CC: filip.kendes1, javirrdar
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: GUI error

Description iMaaN 2024-10-03 15:59:11 UTC
Created attachment 174369 [details]
GUI error

I have installed Crow Translate 3.0.0 in Arch Linux from AUR (I've been try both AUR/crow- translate & AUR/crow-translate-git)
but when i try to translate any text from any source languages to Persian this error occurred "Instance error: Target Language Code invalid".
even when i try to translate with cli tool it can't translate and i noticed in  that in requested URL sent to mozhi for translate doesn't mention target lang in queryset and it left blank if set to fa.
I enter this command : crow -s en -t fa "Hello"
and result is this :
~~~
"Error: Error transferring https://mozhi.pussthecat.org/api/translate?engine=google&from=en&to=&text=Hello - server replied: Bad Request"
Hello

[ English ->  ]
~~~
Comment 1 Filip 2024-10-03 16:02:25 UTC

*** This bug has been marked as a duplicate of bug 494043 ***