sakusaku3939 / DeepLAndroid

Unofficial Android App for DeepL Translator
MIT License
360 stars 19 forks source link

Default target language #75

Closed Donkey-Doug closed 2 years ago

Donkey-Doug commented 2 years ago

Make it possible to select a default language to translate to. I don't know why, but mine is always set on german. I need to manually select my language every time (dutch).

sakusaku3939 commented 2 years ago

Once you have changed the translation language and entered it, it will be set to that language from the next time you start the program. It seems to work fine in my environment.

Donkey-Doug commented 2 years ago

That feature does not work for me. Always in german.

Android 10 LineageOS (without google play services)

sakusaku3939 commented 2 years ago

I see... I'll let you know again when I find a way to reproduce it.

GeoGlobber commented 2 years ago

Tl;dr open main app and perform translation to desired default language

Hi, I can add some knowledge on this issue and how I was able to "solve" it:

How to reproduce it: Reinstall the app and use the app in popup mode (by selecting from context menu), the default language is always German

What does NOT work: -Changing the language in the popup, it will be still be German the next time -Going to the main app and selecting a different target language -Doing the above and restarting the app (by force quitting)

What works: Going to the main app, selecting desired target language and actually make a translation towards it

In this way, the correct target language is saved.

Expected behavior: When you change the target language in the popup, it should store it like it does in the main app.

Hope this helps and thank you for making this app!:)

Donkey-Doug commented 2 years ago

This worked! Thank you.

sakusaku3939 commented 2 years ago

@GeoGlobber Thanks for the info! The fix for this bug will be incorporated into the next version.