jdev - 2026-10-29


  1. 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. ✎

  2. edward

    Is it implemented in clients? How will it display?

  3. 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

  4. 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. ✏

  5. leke

    https://suchat.org:5443/upload/d79be536c0b29d52473762afe09b2e6163362789/qganaY0oktFKYz66ucDy3ss0bsbxh3YOBPTVWe3l/e06bd8a8-5304-4f33-ac33-d22f199edbcb.png

  6. leke

    https://suchat.org:5443/upload/d79be536c0b29d52473762afe09b2e6163362789/KLGG7OGFqOcNk9FbWU5ntN4UDsvolOEgTU8q0B7I/7191c7c2-d354-4343-9974-18d075b031b3.png

  7. leke

    First, you need to subscribe to the translation bot, since it’s a user too. Then you can send it translation requests.

  8. edward

    How does a user do that? I've never seen this option

  9. 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.

  10. edward

    Ah... Not to be discouraging but... What's the point then? Would clients implement it if bots do?

  11. 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.

  12. 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 ↺

  13. edward

    I think it can be useful on a larger scale. But it's rare to see this even in larger performs

  14. 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

  15. 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?😂

  16. 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 ↺

  17. edward

    It can also be useful for moderation. Users may speak a foreign language to circumvent banned topics

  18. 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

  19. 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

  20. 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 ↺

  21. leke

    Exactly. If everyone waits for someone else to implement it first, we’ll end up in a deadlock.

  22. edward

    Moderators may share a paid API key to a higher quality translation service

  23. jjj333_p (any pronouns)

    alternatively simply forbid anything that isnt the common language, and its the sender's responsibility

  24. jjj333_p (any pronouns)

    which is kinda what we already do

  25. jjj333_p (any pronouns)

    and it works

  26. jjj333_p (any pronouns)

    🤷

  27. 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

  28. 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

  29. jjj333_p (any pronouns)

    the latter point being probably the larger reason than even moderation that most chats restrict languages

  30. jjj333_p (any pronouns)

    at least if you translate before sending you can easily check and correct output

  31. edward

    The XEP would allow that because you can request a translation at any time

  32. 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

  33. una

    I worked on translation plugin for profanity-im : https://codeberg.org/une/profanity-translate/src/branch/master/video.webm

  34. una

    (now abandoned)

  35. 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.

  36. edward

    Do you use Smack?

  37. 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

  38. jjj333_p (any pronouns)

    like this does feel like a solution in search of a problem to me

  39. edward

    Friction is a common problem I see in XMPP. Why not reduce it if possible?

  40. edward

    For example, I can separate random MUCs and personal PMs by using two account, but why not standardise gajim's workspaces? ✎

  41. edward

    For example, I can separate random MUCs and personal PMs by using two accounts, but why not standardise gajim's workspaces? ✏

  42. jjj333_p (any pronouns)

    > Friction is a common problem I see in XMPP. Why not reduce it if possible? i dont think it would ↺

  43. 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

  44. 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 ↺

  45. cal0pteryx

    Can't have MUCs in roster groups though

  46. 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

  47. lovetox

    everything else can be mixed, chats, groupchats, pm, and even chats from different accounts

  48. edward

    leke: do you use the Smack client library in Java?

  49. lovetox

    the mixing between different accounts is also the technical challenge we did not solve yet, how to store this on the server

  50. leke

    > leke: do you use the Smack client library in Java? For Java, it seems to be the best choice.

  51. leke

    WhatsApp limits users to even two accounts.

  52. 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

  53. 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 ↺

  54. lovetox

    and then you standardize to add non-mucs to bookmarks too?

  55. lovetox

    we still need that new overall roster thing, where we can add all JIDs + all data per JID we want

  56. 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 ↺

  57. lovetox

    roster can be what it was intended for, place to manage subscriptions

  58. lovetox

    i think the rest should move into one single pubsub node

  59. moparisthebest

    > Moderators may share a paid API key to a higher quality translation service is this a thing that still exists ? ↺

  60. 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 ↺

  61. moparisthebest

    yea because they haven't turned it off yet? doubt anyone would pay for it instead of embedding whisper or whatever though

  62. edward

    DeepL is way better compared to anything

  63. leke

    I hope I can run Index-Translate on my 5090. I’ve heard this model is pretty good at translation.

  64. 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

  65. 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

  66. edward

    i've used that app for a long time. i wouldn't call its quality "really good"