hhmx.de

Föderation DE Mo 10.03.2025 22:33:20

Testing again, if @pachli notifies me that the language of the toot doesn't correspond with the default language setting. cc @nikclayton

Medien: 1

Föderation EN Mo 10.03.2025 22:37:56

@pachli @nikclayton Should've checked the settings beforehand. For some reason it was turned off. Does this setting go back to default when updating a version?

Föderation EN Di 11.03.2025 15:56:20

@frauxirah @nikclayton No, but there's an option to turn it off on each dialog it shows, so it's possible you tapped that inadvertently.

To figure out whether to prompt you or not the language warning check uses the following heuristics.

1. Try and identify the language you've written in (e.g., for this post I'm writing in English). The language classifier identifies a (possibly empty) list of languages it might be written in, and a percentage score of how confident it is.

Föderation EN Di 11.03.2025 15:56:59

@frauxirah @nikclayton

2. If the list of identified languages is empty then do nothing, and post as normal.

3. If the language you've written in is in any of the identified languages then do nothing. E.g., if the language classifier said there was an 80% chance this was written in German, and a 60% chance it's written in English, I wouldn't be prompted to change to German, as English was one of the identified languages.

Föderation EN Di 11.03.2025 15:57:31

@frauxirah @nikclayton

4. Finally, the percentage confidence score for the most likely language has to be at least 60%. If it's less than that we assume the classification is sufficiently uncertain.

For example, if I wrote a post with the three names of the Swiss railway:

> Schweizerische Bundesbahnen
>
> Chemins de fer fédéraux suisses
>
> Ferrovie federali svizzere

The results include Luxembourgish (!), German, and French, but none of them at more than 30% confidence. So there's no prompt.

Föderation EN Di 11.03.2025 20:11:30

@pachli @nikclayton Thank youvso much for the explanation! And your example with SBB/CFF/FFS is perfect. 😃