Closed Valdnet closed 3 years ago
An example of setting the default language for translation in the application settings:
You mean the default share language?
I mean there should be an explanation that this setting is related to the share feature. Until now, this is the only thing this setting is used for.
I mean there should be an explanation that this setting is related to the share feature.
A very good point. I'll change the example in a moment π.
Has been added. The language search isn't the prettiest on the planet. It can be improved, but the logic is done, hopefully.
Errors: 1. After setting the default language, eg Polish, after exiting the settings, the Polish language is automatically set for translations.
Steps:
Correct behavior:
The default language should not be automatically set for translations. We get the result, for example: Polish <-> Polish.
2. The language set, for example: Polish, after re-entering the settings, it does not remember the language set. It returns to Arabic.
Steps:
Correct behavior:
Default language setting is remembered.
3. After setting the default language, e.g. Polish, translates the text into Arabic from the shared application.
Correct behavior:
After sharing text from another application, the languages should be set to: Autodetect <-> Polish. The translation should be for the Polish language.
I've encountered this issue, but happened just once. I think you've pressed the language from the options instead of pressing enter.
Yes. I chose the language from the list. Choice should work that way too π.
They shouldn't be changed. The setting is for the share feature, not the usual translation.
Hmmm. It looks a bit strange, but maybe you're right π. We will see in the tests how it turns out π.
The choice of the default language should be done in the same way as for the choice of the translation languages.
Procedure:
No expanded list:
The list with the languages is shown:
It was like that before. Reverted it back.
Previously, this was the case with the tap in "Default share to-languaguage":
And it should be like this:
The point is, once the popup shows up, it shouldn't automatically expand the language list or the selected language. Only after tapping on the language window is the list of languages ββdrawn up. As it is for the choice of languages ββfor a translator.
One more thing needs to be improved. The first time you set it, the default language should appear in the window so that the user knows.
Currently it is like this:
Because the language is also visible to the user in the settings:
Do the languages displayed in the settings need to be re-translated?
Do the languages displayed in the settings need to be re-translated?
I took care of this. They're translated now.
Won't appear until the user presses the TextField. will show the whole list. Fresh startup of the app will default to Arabic. Will be shown in the TextField and in the settings subText.
In this case, the fixed text "Select language" must be entered for the first commissioning. The empty window looks a bit strange. The user may be a little confused.
Although I would prefer the language name "Arabic" π.
I took care of this. They're translated now.
They are still in English:
The empty window looks a bit strange.
I did change it.
Although I would prefer the language name "Arabic" grin.
Me too, that is what was implemented.
They are still in English:
I downloaded the last artifact and checked. It really is translated.
I downloaded the last artifact and checked. It really is translated.
But in the latest test version it still displays in English.
Are you sure it gets from text strings from selectLanguagesMap
?
It doesn't. It gets it from a variable called toLanguageShareDefault
.
It's the same value that you typed in the TextField. If it's angelize then it will be angelize. Values that are shared with servers use the selectLanguagesMap
. They take this gibberish translation and find the corresponding English name. Send those English names to the servers because they just speak English.
Hmmm β¦ Check if your languages are translated in the settings π.
I checked it in polish.
I checked it in polish.
Well. When there is a new test version, I will test it again π.
Cool. There is a translation of the set language π . Only the text string goes out of the window.
Automatic translation cancellation for sharing. Same as for issue #99 π.
Fixed it but referenced in that issue.
I think this issue should be closed now @Valdnet.
After many torments, I am happy to close the issue π. Many thanks to @ManeraKai π₯.
Hoping the same for the Paste button one day.
When selecting a text for translation from another application, e.g. a web browser, the problem arises that if the translator has the languages set, eg French <-> German, and the text is in English and I want to translate it into Polish, it requires re-translation.
The suggestion is that in the application settings you can set the default language, e.g. Polish, to which you want to translate. After selecting the translator "Simply Translate", the application would automatically change the languages to: Autodetect <-> Polish. If the user changed to the default language e.g. Arabic, the translator would automatically change to Autodetect <-> Arabic.
I think it would make the application easier to use.