Deltachat-android: English signature is default, even on non-english language settings

Created on 26 Jul 2020  路  24Comments  路  Source: deltachat/deltachat-android

Hi there,

on my Samsung phone with German language environment Delta Chat uses English signature ("Sent with my...") as default for new profiles.

(GUI is German as expected.)

Found with 10.10.5 build. But I think I experienced the same bug already with 10.8.1 build.

bug

Most helpful comment

Done. #1533

All 24 comments

@Norbert80 Thank you for your report. When you send a message to a person with a classic mailer, does the mail contain a German or the English signature? Maybe it is just shown wrong in the preferences dialog.

I could not reproduce this on 1.10.4

@Norbert80 Did you maybe change your system language from English to German recently? In this case, you might want to "force stop" Delta Chat once.

I could reproduce this (1.10.5).
Using existing DC installation.
Switching Language to "System" (which is German in my case)
Switch Account and create a new one.
UI is in German but the signature that arrived at my test mail account was "Sent with my Delta Chat Messenger: https://delta.chat"

As @Hocuri could not reproduce it, this probably needs more digging.

On another account I manually set the Language to "German" fix and the problem remains.

Switching Language to "System" (which is German in my case)
Switch Account and create a new one.

The signature of the newly created account is English, this seems to be default. A function to instantly switch the signature to the language currently active must be developed.

This applies to other languages as well, just tried with Esperanto where the problem appears as well.

@Norbert80 Thank you for your report. When you send a message to a person with a classic mailer, does the mail contain a German or the English signature? Maybe it is just shown wrong in the preferences dialog.

English.

I could not reproduce this on 1.10.4

@Norbert80 Did you maybe change your system language from English to German recently?

No. Never.

There are more English strings popping up in my German GUI:

grafik
grafik
grafik

Hi there,

I found out something interesting.

I always thought that I never have experienced this language bug before I have used Delta Chat from F-Droid.

To check this I just tried the recent Play Store build.
Result: I get the German signature string beside the German GUI.

So it looks like this bug only affects F-droid builds.

Has anyone an idea why?

there was some recent change in picking the language, https://github.com/deltachat/deltachat-android/pull/1391/files, maybe that's related somehow.

Just tested with GPlay 1.10.4: Issue remains. UI is in German, Mail elements (Subject and Signature) are in English.
Language is German (manually), System language is German as well.

After restart the signature became German, the "Message from" segment of the subject remained English.

@angelo-fuchs Confirmed. I will try to update to 1.10.5 later on and see if it helps.

@gerryfrancis It doesn't, I can reproduce on current master.

During Debugging I added a breakpoint in ApplicationDcContext:136 (setStockTranslations)
All its calls were returning the German text, so I'm uncertain where the English text is given to the core atm.

If one restarts the phone OR opens the settings / Appearance even once the value is set properly.

found it. It is in stock.rs:56

The issue also appears if one just switches from one account to another (already existing) one.
It seems that the core does not yet know of the internationalized strings in this scenario.

found it. It is in stock.rs:56

The issue also appears if one just switches from one account to another (already existing) one.
It seems that the core does not yet know of the internationalized strings in this scenario.

@angelo-fuchs Thank you very much for this finding. It matches with my experience. (I use multi-account with the F-Droid build but checked only single-account with Google PlayStore build.)

So it looks like the problem has started for me as I begun to use multi-profile feature and has nothing to do with F-Droid vs PlayStore.

@Norbert80 The fix merged, so the bug should be gone with the next version.
Thanks for reporting!

@angelo-fuchs Thank you very much! I will check and confirm as soon as the new build becomes available on F-Droid.

Btw... does anyone know why Delta Chat releases are delayed that much on F-Droid? Are these delays caused by F-Droid?

@Norbert80 When we ship a new version it gets queued. So we have to wait until they come around to include it in their work.
Unfortunately we have no means to take any influence on when that's going to happen.

@angelo-fuchs Today I received the update via F-Droid.

  • I can confirm that the signature has changed to German language now for all existing profiles. Thank you!

  • I found one remaining translation issues on the message info box. If I select any message and press the i-button to display message info I still get English strings like "Sent:", "by", "State: Delivered", "Message-ID" and "Last seen as:"

Please let me know if we should re-open this bug for the remaining issues on the message info box.

@Norbert80 Although I can confirm this, I suggest to let this issue closed and to open a new one. Thanks!

Done. #1533

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gerroon picture gerroon  路  3Comments

r10s picture r10s  路  4Comments

gerryfrancis picture gerryfrancis  路  4Comments

gitkald picture gitkald  路  5Comments

adbenitez picture adbenitez  路  4Comments