[Standards-JIG] JEP-0171 Questions (Language Translation) -
Registering a Translator
Chris Mullins
chris.mullins at coversant.net
Tue Oct 10 11:53:44 CDT 2006
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
More information about the Standards-JIG
mailing list