dialect-app / dialect

A translation app for GNOME.
GNU General Public License v3.0
596 stars 69 forks source link

Translation fails when first starting the app with `--text` argument #294

Closed zefr0x closed 1 year ago

zefr0x commented 1 year ago

When I start Dialect using the --text CLI argument it will show a Translation failed message, but when clicking Retry or just running Dialect again with --text (It will not open a new window but the text will be send to the same window) it will translate the text with no problems.

So there is a problem when translating in application start time, may be the translation process begins before some thing it loaded in the app, or some thing like that.

I was able to reproduce that with the AUR and the Flatpak package.

It only happen with Lingva and LibreTranslate, but not with Google.