this post was submitted on 23 May 2024
19 points (95.2% liked)

Lemmy Support

4652 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

So I have tried to search this community, Lemmy in general, and the GitHub issues on LemmyNet/lemmy repo, but didn't immediately see anything discussing this.

It would be really cool if Lemmy would trigger Firefox's new translation icon in the address bar based on the browser/OS/Lemmy language as compared to the post/comment language.

So i.e. if my browser/OS language is English and the post is flagged German or contains comments that are flagged as German, the Firefox address bar should show the little translation beta icon in the address bar, because Firefox can translate between these two languages.

Bonus points if it doesn't offer German translations if I'm logged in and have set German as one of my languages in the Lemmy settings.

(by the way the dialogue always adds "Undetermined" regardless of if it being selected in the settings or not, not sure if that's intended)

Hope you guys can figure it out. Right now the Firefox button doesn't seem to pop up regardless of which Lemmy instance I visit and which language is set where, but it does appear for a lot of other websites.

And while I'm here, thank you for all you do for us users and the Fediverse/ActivityPub in general. It's much appreciated! :)

top 3 comments
sorted by: hot top controversial new old
[–] bjoern_tantau@swg-empire.de 8 points 5 months ago (1 children)

Should theoretically be easy to implement. You should make a bug report to the lemmy-ui github.

Problem is that the language feature is underused. Many apps don't even allow you to select a language. And even in Lemmy's own UI it isn't automatically filled in with a sane default. It's just empty. So it's unset for most of the posts and comments.

[–] Nothing4You@programming.dev 3 points 5 months ago

starting with 0.19.4, at least user settings will default to their browser's accepted languages on registration: https://github.com/LemmyNet/lemmy/pull/4550

this doesn't solve actually tagging content, but it some progress at least.

[–] Asidonhopo@lemmy.world 3 points 5 months ago

I'd love to see this implemented, a lot of non-English communities I'd like to read if they would autotranslate.