[Standards-JIG] JEP-0171 Questions (Language Translation) - Registering a Translator

Jean-Louis Seguineau jean-louis.seguineau at laposte.net
Tue Oct 10 17:29:40 UTC 2006


Chris,

Maybe XEP-0030 section 5 "Publishing Available Items" will do the trick
here. The bot will only need to publish the translation support for disco to
be set.

Jean-Louis

-----Original Message-----
Message: 3
Date: Tue, 10 Oct 2006 09:53:44 -0700
From: "Chris Mullins" <chris.mullins at coversant.net>
Subject: [Standards-JIG] JEP-0171 Questions (Language Translation) -
	Registering a Translator
To: "Jabber protocol discussion list" <standards-jig at jabber.org>
Message-ID:
	<97B71C0C860DEC40A993AB9F7F0D4335524C75 at fattire.winfessor.com>
Content-Type: text/plain;	charset="utf-8"

There exists in the JEP a Discovery mechanism for a client to find a
translator:

<query xmlns='http://jabber.org/protocol/disco#items'>
    ...
    <item jid='towerofbabel at shakespeare.lit'
          name='Tower of Babel Translation Bot'/>
    ...
  </query>
</iq>

However, there's no way that I see in the protocol for a translator
(assuming a bot or a human translator) to log in and announce to the server
that it provides translation services. It seems as if, using the JID
approach, that the translator should announce presence:

<presence>
  <x xmlns='http://jabber.org/protocol/langtrans'>
    <translation name='Tower of Babel Translation Bot'/>
  </x>
</presence>

When the server sees this presence that JID and Name can be added into the
discovery items that the server sends back for disco requests. This
eliminates signifgiant configuration from the server, and allows a single
bot to provide translation for a wide range of XMPP servers. 


-- 
Chris Mullins

------------------------------

_______________________________________________
Standards-JIG mailing list
Standards-JIG at jabber.org
http://mail.jabber.org/mailman/listinfo/standards-jig


End of Standards-JIG Digest, Vol 35, Issue 27
*********************************************




More information about the Standards mailing list