dialect-app / dialect

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

Feature Request: Improve Language Identification and Switching #299

Open Saijin-Naib opened 1 year ago

Saijin-Naib commented 1 year ago

Currently, Auto detect doesn't show the user what it has determined the language to be. This prevents the Switch Language button from working, which makes it harder to use Dialect for responding to the input text we just translated.

An option could be to simply switch the input panel language from Auto to the detected language. This would then enable the "switch languages" UI button.

rafaelmardojai commented 1 year ago

Yes, this will be worked on.

This already works if you use Google with live translation disabled. Support for Lingva has been added here #292.

Looks like LibreTranslate also can be supported now, on previous versions of LibreTranslate you had to use the /detect endpoint to only get the detected lang, now translating from auto also returns the detected lang.