[telepathy-spec/master] Add language key to location data

Pierre-Luc Beaudoin pierre-luc at pierlux.com
Tue Aug 11 06:46:03 PDT 2009


As per Section 7 of XEP-0080, the language of the data
SHOULD be described in a xml:lang attribute.  That language,
needs to be passed to Telepathy from the application.

Signed-off-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
---
 spec/Connection_Interface_Location.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/spec/Connection_Interface_Location.xml b/spec/Connection_Interface_Location.xml
index 8821ec0..d501aff 100644
--- a/spec/Connection_Interface_Location.xml
+++ b/spec/Connection_Interface_Location.xml
@@ -137,6 +137,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
               information about it</li>
           </ul>
 
+          <p>Since the previous strings have data intented to be read by users,
+            the language used should be stated using:</p>
+
+          <ul>
+            <li>language - s: a specific language or locale of location
+              information in a format compatible to RFC 4646. Note that UTF-8
+              is the only allowed encoding, e.g. "en" or "fr-CA".</li>
+          </ul>
+
           <p>Positions are represented by the following well-known keys:</p>
 
           <ul>
-- 
1.5.6.5




More information about the telepathy-commits mailing list