dialect-app / dialect

A translation app for GNOME.
https://dialectapp.org/
GNU General Public License v3.0
609 stars 69 forks source link

Lingva: invalid language code when the target language is Chinese #271

Closed linsui closed 2 years ago

rafaelmardojai commented 2 years ago

Can't reproduce with both Chinese nor Chinese Traditional. Captura desde 2022-07-20 17-51-55

Do you get any other error if you run it from the terminal? Also, what Lingva instance are you using?

linsui commented 2 years ago

It works again. I didn't get other error in the terminal. I'm using lingva.ml and the website worked well. I tested Traditional Chinese and it worked. Only the Simplified Chinese didn't work.

rafaelmardojai commented 2 years ago

Then this probably was a Lingva's server misbehavior. Dialect raises that error when the server returns it, and the languages list also is got from the server.

linsui commented 2 years ago

I guess so. If I get this error again I'll report here. Thanks!