pleroma.debian.social

pleroma.debian.social

@jmtd On every one of your posts I get an "Translate" link underneath. It doesn't happen for others (and obviously your posts are in UK-English!). Do you know if that's something specific to the debian Mastodon instance?

@sxa how strange: I’ve not seen that before. Debian’s instance runs the alt software “pleroma”. But I don’t get offered translations of other people’s toots. Is it a hyperlink? Can you share where it’s pointing?

@sxa Translate [from Geordie]

@jmtd It's javascript magic but when you expand it it shows as being translated by "DeepL.com"
It's not visible on the web at https://pleroma.debian.social/jmtd but is on
https://fosstodon.org/@jmtd@pleroma.debian.social suggesting it's some metadata that goes into your posts 🤷

@sxa weird. I’ll poke at it tomorrow!
replies
1
announces
0
likes
0

@jmtd the posts received from your instance have a language:null attribute, where a Mastodon instance would expect a valid language code (presumably `language:EN? I couldn't figure out the ISO 639 code for Geordie 😁​).
This is the attribute that @sxa 's client use to generate a link to a translation service (incorrectly IMO, as it should sanity check the provided language code instead of just assuming that a value different from the current locale is enough, but anyways...)

@fred @sxa thanks for investigating! I might be able to set a user preference for my language, I’ll take a look

@jmtd @sxa Mastodon compatible clients usually expose this attribute in the posting UI, as it's very useful for people posting in more than one language (so that their followers could automatically be offered a translation link when needed).
What client/front end are you using, if I might ask?

@fred @sxa mastodon iOS app. It seems to think I’ve selected English
Screenshot of mastodon iOS app’s posting interface

@jmtd @sxa Ah. So I suspect that it might be Pleroma that ignores your language settings?

@fred @sxa It would seem so. This reply is from the Pleroma web UI on my laptop, rather than phone app. I couldn't find any setting for language, either in the web app preferences or the compose form as I write this.

@jmtd @fred Yep that has the Translate link too so it does sound like it's causing the :null

@sxa @fred yeah, this appears to be a known issue. I wonder if Pleroma is still actively developed? https://git.pleroma.social/pleroma/pleroma/-/issues/2975