From bfd0204c0d6dcf642c153e101749f0c40c2109ea Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Sat, 2 Feb 2008 00:02:22 +0000 Subject: [PATCH] 0.3 git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1649 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0171.xml | 163 ++++++++++++++++++++++++++------------------------- 1 file changed, 84 insertions(+), 79 deletions(-) diff --git a/xep-0171.xml b/xep-0171.xml index 1793818c..42c55559 100644 --- a/xep-0171.xml +++ b/xep-0171.xml @@ -10,7 +10,7 @@ This document defines an XMPP protocol extension for providing language translation facilities over XMPP. It supports human, machine, client-based, and server-based translations. &LEGALNOTICE; 0171 - Deferred + Experimental Standards Track Standards Council @@ -30,18 +30,24 @@ Daniel LaPrade - daniel.laprade@je.jfcom.mil + dlaprade@echostorm.net Keith Lirette - keith.lirette@je.jfcom.mil + keith.lirette@gd-ais.com Brian Raymond - brian.raymond@je.jfcom.mil + braymond@echostorm.net + + 0.3 + 2008-02-01 + kl/bf + Modified semantics to use IQ stanzas for communication with servers; changed dst_lang to destination_lang and src_lang to source_lang. + 0.2 2006-04-24 @@ -137,7 +143,7 @@ + Hello Bonjour How are you? @@ -151,7 +157,7 @@

A message translated by the originating XMPP entity or a transparent XMPP entity delivered to a remote entity with the pivot languages used to accomplish the translation. The source language is known because there is no translation tag describing it. When a translation is done via a pivot language, the pivot languages and their order of use MUST be specified.

+ Bonjour Hello x443;лте @@ -169,7 +175,7 @@

A message translated by the originating XMPP entity or a transparent XMPP entity delivered to a remote entity using pivot languages and machine translation. The source language is known because there is no &X; translation tag describing it.

+ Bonjour Hello x443;лте @@ -233,19 +239,19 @@ - - - - - - - @@ -254,98 +260,86 @@ -

To request service from a translation provider you can send a message to a provider requesting translations. The lack of a 'derived_from' attribute in the <translation/> element indicates a request for a translation. The request SHOULD include an XMPP &THREAD; element for tracking purposes.

+

To request service from a translation provider you can send a message to a provider requesting translations. The lack of a 'derived_from' attribute in the <translation/> element indicates a request for a translation.

- 5f3ea6f710337db2388e965e837fcc96334361e4 - Hello - How are you? - - + + + How are you? + -
+ ]]>
-

If the translation request included a Thread ID, the translation provider MUST echo that thread in its response so that the requesting entity can keep associate the response with the request.

+ - 5f3ea6f710337db2388e965e837fcc96334361e4 - Bonjour - Hello - comment allez-vous? - How are you? - - + + + hello, how are you? + comment allez-vous? -
+ ]]>
- - 5f3ea6f710337db2388e965e837fcc96334361e4 - Hello - How are you? - - - + + + How are you? + + -
+ ]]>
- 5f3ea6f710337db2388e965e837fcc96334361e4 - Hello - Bonjour - x443;лте - comment allez-vous? - How are you? - Как вы? - - - + + + How are you? + Come siete? + Wie geht es Ihnen? - + ]]>

If a specific dictionary is required you MAY request a dictionary. This SHOULD have been returned when discoing the server although a dictionary MAY be requested which was not. The dictionaries are translation engine specific and are free form text.

- 5f3ea6f710337db2388e965e837fcc96334361e4 - Hello - How are you? - - + + + How are you? + - + ]]> - 5f3ea6f710337db2388e965e837fcc96334361e4 - Bonjour - Hello - comment allez-vous? - How are you? - - + + + hello, how are you? + comment allez-vous? - + ]]>

If the translation service cannot complete the translation it SHOULD return a error indicating some part of the translation request was problematic, unless doing so would violate the privacy and security considerations in XMPP Core and XMPP IM, or local security and privacy policies.

- - + + + How are you? + + + + - + ]]>

If privacy or security considerations make returning an error not feasible it SHOULD return a error.

- + + + How are you? + + + - + ]]>
@@ -391,12 +385,23 @@ + - + + + + + + + + + + + @@ -443,12 +448,12 @@ - + - +