[Pidgin] #3251: Attribute xml:lang Not Sent in stream:stream packet

Pidgin trac at pidgin.im
Thu Sep 20 20:11:42 EDT 2007


#3251: Attribute xml:lang Not Sent in stream:stream packet
-------------------+--------------------------------------------------------
Reporter:  NoelC   |       Owner:  lschiere    
    Type:  defect  |      Status:  new         
Priority:  minor   |   Component:  unclassified
 Version:  2.2.0   |    Keywords:              
 Pending:  0       |  
-------------------+--------------------------------------------------------
 Not sure if this is a defect or by design, but in looking for the Pidgin
 client to set up the default language of the server connection, we see
 that no matter what the language is set to (e.g., PIDGINLANG=fr) the
 xml:lang attribute is never sent by Pidgin, leading servers to default the
 connection to "en" (English).

 A debug log:

 {{{
 GTK+ path found: C:\Program Files (x86)\Common Files\GTK\2.0\bin
 Using SetDllDirectory
 Setting locale: LANG=fr
 (16:12:24) wpurple: shfolder.dll not already loaded; loading it...
 (16:12:24) wpurple: This version of shfolder.dll contains SHGetFolderPathW
 .
 .
 .
 (16:12:24) proxy: Connection in progress
 (16:12:24) proxy: Connected to vm:5222.
 (16:12:24) jabber: Sending: <?xml version='1.0' ?>
 (16:12:24) jabber: Sending: <stream:stream to='vm' xmlns='jabber:client'
 xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
 (16:12:24) jabber: Recv (175): <?xml version='1.0'
 encoding='UTF-8'?><stream:stream
 xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"
 from="vm" id="9267a428" xml:lang="en" version="1.0">
 (16:12:24) jabber: Recv (486): <stream:features><starttls
 xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms
 xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-
 MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism
 >CRAM-MD5</mechanism></mechanisms><compression
 xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth
 xmlns="http://jabber.org/features/iq-auth"/><register
 xmlns="http://jabber.org/features/iq-register"/></stream:features>
 .
 .
 .
 }}}

 Is this the way it is supposed to work?

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3251>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list