-
edward
> Would anyone be interested in using the 0171 translation extension? I think it could make international discussions more accessible than relying on English alone. Yes, I am working on a bot using the Smack library. I'd be interested to implement a translation feature, but I'm new to XMPP development.✎ -
edward
Is it implemented in clients? How will it display?
-
edward
> seems a bit late to be standing up centralized translation services now that every computer can trivially run very good translation locally True but clients haven't implemented such methods of local translation. You need a third party app, which means extra friction for users and that's bad :P
-
edward
> Would anyone be interested in using the 0171 translation extension? I think it could make international discussions more accessible than relying on English alone. Yes, I am working on a general utility bot using the Smack library. I'd be interested to implement a translation feature, but I'm new to XMPP development. ✏
-
leke
https://suchat.org:5443/upload/d79be536c0b29d52473762afe09b2e6163362789/qganaY0oktFKYz66ucDy3ss0bsbxh3YOBPTVWe3l/e06bd8a8-5304-4f33-ac33-d22f199edbcb.png
-
leke
https://suchat.org:5443/upload/d79be536c0b29d52473762afe09b2e6163362789/KLGG7OGFqOcNk9FbWU5ntN4UDsvolOEgTU8q0B7I/7191c7c2-d354-4343-9974-18d075b031b3.png
-
leke
First, you need to subscribe to the translation bot, since it’s a user too. Then you can send it translation requests.
-
edward
How does a user do that? I've never seen this option
-
leke
> How does a user do that? I've never seen this option As far as I know, no mainstream client currently has built-in support for this translation extension.
-
edward
Ah... Not to be discouraging but... What's the point then? Would clients implement it if bots do?
-
leke
Someone once told me that all I needed to do was start coding, and that discussions here would only slow me down. Once the first server implementation is available, client developers can start working with you.
-
jjj333_p (any pronouns)
> Ah... Not to be discouraging but... What's the point then? Would clients implement it if bots do? as far as ive seen the consensus i agree with is theres not really much point in serverside translations in $currentyear anyways ↺
-
edward
I think it can be useful on a larger scale. But it's rare to see this even in larger performs
-
edward
> Someone once told me that all I needed to do was start coding, and that discussions here would only slow me down. Once the first server implementation is available, client developers can start working with you. Again, I didn't want to be discouraging. I just asked because I'm new and I'm not sure how things work. It doesn't look very complex, I could probably implement it in Java
-
leke
That’s fair. I used to think the same way: if no XMPP server has implemented an XEP yet, why should I bother implementing it on the client side?😂
-
jjj333_p (any pronouns)
> I think it can be useful on a larger scale. But it's rare to see this even in larger performs i think its only useful in the case of a common target, which isnt really the case. and on many devices (ios, macos, android) local translation is already an existing thing ↺
-
edward
It can also be useful for moderation. Users may speak a foreign language to circumvent banned topics
-
jjj333_p (any pronouns)
> if no XMPP server has implemented an XEP yet, why should I bother implementing it on the client side?😂 generally in xmpp i find it a better mental model to see the server as a transparent proxy more than anything. it can hold state for you and it can pass route things, but xmpp is kinda client heavy
-
edward
> That’s fair. I used to think the same way: if no XMPP server has implemented an XEP yet, why should I bother implementing it on the client side?😂 It's a chain that must be broken
-
jjj333_p (any pronouns)
> It can also be useful for moderation. Users may speak a foreign language to circumvent banned topics i think even then youre still better served by local ↺
-
leke
Exactly. If everyone waits for someone else to implement it first, we’ll end up in a deadlock.
-
edward
Moderators may share a paid API key to a higher quality translation service
-
jjj333_p (any pronouns)
alternatively simply forbid anything that isnt the common language, and its the sender's responsibility
-
jjj333_p (any pronouns)
which is kinda what we already do
-
jjj333_p (any pronouns)
and it works
-
jjj333_p (any pronouns)
🤷
-
edward
True. But I can express myself better in my native tongue, so I'd like to be able to use it from time to time
-
jjj333_p (any pronouns)
then its either translated by a translator into a common target anyways (?) or you are uninteligible to most of the room
-
jjj333_p (any pronouns)
the latter point being probably the larger reason than even moderation that most chats restrict languages
-
jjj333_p (any pronouns)
at least if you translate before sending you can easily check and correct output
-
edward
The XEP would allow that because you can request a translation at any time
-
jjj333_p (any pronouns)
my point is not that you cant make it work. my point is that its a worse solution than what we already have and i dont see much point
-
una
I worked on translation plugin for profanity-im : https://codeberg.org/une/profanity-translate/src/branch/master/video.webm
-
una
(now abandoned)
-
leke
I didn’t think that far ahead at the time. I simply wanted to implement a translation service in XMPP. I didn’t want to have to open another app just to translate messages while using XMPP.
-
edward
Do you use Smack?
-
jjj333_p (any pronouns)
for ios/macos there is a built in api that apps can use to use apple's translation model locally, and you can render the results directly, and firefox (locally) and chrome (via google translate) can do similar for webapps
-
jjj333_p (any pronouns)
like this does feel like a solution in search of a problem to me
-
edward
Friction is a common problem I see in XMPP. Why not reduce it if possible?
-
edward
For example, I can separate random MUCs and personal PMs by using two account, but why not standardise gajim's workspaces?✎ -
edward
For example, I can separate random MUCs and personal PMs by using two accounts, but why not standardise gajim's workspaces? ✏
-
jjj333_p (any pronouns)
> Friction is a common problem I see in XMPP. Why not reduce it if possible? i dont think it would ↺
-
jjj333_p (any pronouns)
idk i think ive beat this dead horse enough, no one is stopping anything, its ultimately up to the masses whether its worth adopting or not
-
singpolyma
> For example, I can separate random MUCs and personal PMs by using two accounts, but why not standardise gajim's workspaces? Gajim workspaces are essentially tags/groups which have been standard for ages ↺
-
cal0pteryx
Can't have MUCs in roster groups though
-
lovetox
Workspaces were created because many users wished to organise and separate their chats, currently Gajim allows that only with a single restriction, a chat needs to be exactly in one workspace
-
lovetox
everything else can be mixed, chats, groupchats, pm, and even chats from different accounts
-
edward
leke: do you use the Smack client library in Java?
-
lovetox
the mixing between different accounts is also the technical challenge we did not solve yet, how to store this on the server
-
leke
> leke: do you use the Smack client library in Java? For Java, it seems to be the best choice.
-
leke
WhatsApp limits users to even two accounts.
-
lovetox
it almost works to store only the account relevant data on each account, if there would not be a custom order between pinned chats
-
singpolyma
> Can't have MUCs in roster groups though I agree this isn't technically standardized yet. I should submit the xep for adding groups to bookmarks2. I'm not the only one already doing it ↺
-
lovetox
and then you standardize to add non-mucs to bookmarks too?
-
lovetox
we still need that new overall roster thing, where we can add all JIDs + all data per JID we want
-
singpolyma
> and then you standardize to add non-mucs to bookmarks too? No? They're already in roster where we already have groups. I mean I'd love to have just one list instead of two but I think that ship sailed too long ago ↺
-
lovetox
roster can be what it was intended for, place to manage subscriptions
-
lovetox
i think the rest should move into one single pubsub node
-
moparisthebest
> Moderators may share a paid API key to a higher quality translation service is this a thing that still exists ? ↺
-
jjj333_p (any pronouns)
> is this a thing that still exists ? moparisthebest, i wouldnt call it high quality but theres very much still a google translate api ↺
-
moparisthebest
yea because they haven't turned it off yet? doubt anyone would pay for it instead of embedding whisper or whatever though
-
edward
DeepL is way better compared to anything
-
leke
I hope I can run Index-Translate on my 5090. I’ve heard this model is pretty good at translation.
-
luca
For 100 000 NOK it better run everything under the sun https://www.komplett.no/product/1319436/datautstyr/pc-komponenter/skjermkort/gigabyte-geforce-rtx-5090-gaming-oc
-
moparisthebest
again really good translations can be done on any device, even decade old potato phones don't take my word install firefox and click "translate" or https://f-droid.org/packages/dev.davidv.translator or one of the dozens of others
-
edward
i've used that app for a long time. i wouldn't call its quality "really good"