> <message from="msn.jabber.darkskies.za.net" type="headline"
> to="[EMAIL PROTECTED]" >
> <body>Pour ajouter des contacts Yahoo! Messenger à votre liste de
> contacts, installez la dernière version de Windows Live(TM)
> Messenger.</body>
> <x xmlns="jabber:x:oob">
> <desc>More information on this notice.</desc>
> <url>5meen_za/177&amp;notification_id=2&amp;message_id=2&amp;agent=messenge
>r</url> </x>
> <x xmlns="jabber:x:oob">
> <desc>Manage subscriptions to alerts.</desc>
> <url>5meen_za/177&amp;notification_id=2&amp;message_id=2&amp;agent=messenge
>r</url> </x>
> </message>
>
> Why doesn't it show "To add contacts Yahoo! Messenger to your contact
> list, install the latest version of Windows Live Messenger (TM).",
> i.e. the message in English?

It seems the reason is in CVR command parameters in msn.py line 113 (PyMSNt 
0.11.2)

MSN_CVR_STR          = "0x040c winnt 5.1 i386 MSNMSGR 7.0.0777 msmsgs"

0x040c is French locale. I don't know why it is French by default, it would be 
better to set it to US English (0x0409). Although I think the correct 
solution would be to use XMPP user's locale when it is possible.

-- 
Regards,
Alexey Chernysh
www.ardas.dp.ua
_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to