Closed Aga-C closed 2 years ago
@Aga-C Very good idea :+1:. I also believe that it will make it easier for the user to use the application.
Maybe ManeraKai wants to promote their language (joke) :grin:.
I will take some time on this as I want to make the language values that are now Arabic
, Spanish
as ar
, es
Did it in this commit: https://github.com/ManeraKai/simplytranslate_mobile/commit/e388b13d86369c91e661d6413ddd6ccd4145c047
I should to fix some translations issues before I'm able to compile an .apk
, it's giving me errors now.
I've tested on a device and on an emulator - translation doesn't work at all π
This is just temporarily. It should be POST
.
Now it works ok. BTW. There is an unrelated issue - all 3 language lists are not sorted alphabetically.
Works great, thanks π
After this change, it is possible to select "Autodetect" for the language to which the text is to be translated. This selection should not appear for this window.
Additionally, when selecting "Autodetect" for the source language, change the <-->
button to inactive, because you cannot change the languages ββbetween, for example: "Autodetect" <-->
"Polish".
After this change, it is possible to select "Autodetect" for the language to which the text is to be translated.
And it's also visible in selecting language for share.
About the autodetect. It really is weird . It's treating passed variables as pointers.
fromSelLangMap = toSelLangMap;
fromSelLangMap['auto'] = AppLocalizations.of(context)!.autodetect;
Apparently this changes both fromSelLangMap
and toSelLangMap
, treating toSelLangMap
as a pointer rather than a value.
I fixed it by a workaround btw.
The <-->
language swap button does not change languages, but translates the text.
You can type and set different characters for the language.
Maybe it is left so that you can set your own unofficial language (joke) π.
Works correctly π.
Hi,
I think that a useful improvement of the app would be to use system language as a default one for:
It will be more user-friendly, since probably most use-cases will be translating from "auto-detect" to mother tongue of a user. Now by default in both cases is Arabic.