[Zope3-checkins] CVS: Zope3/src/zope/i18n/interfaces - __init__.py:1.2.2.1

Sidnei da Silva sidnei at x3ng.com.br
Fri Feb 27 12:37:08 EST 2004


Update of /cvs-repository/Zope3/src/zope/i18n/interfaces
In directory cvs.zope.org:/tmp/cvs-serv31559/interfaces

Modified Files:
      Tag: runyaga-sip-branch
	__init__.py 
Log Message:
Improve negotiator to cope with the fact that the list of language names coming from the translation service may not match the same formatting of the languages coming from the user preferences, so we normalize them before comparing.


=== Zope3/src/zope/i18n/interfaces/__init__.py 1.2 => 1.2.2.1 ===
--- Zope3/src/zope/i18n/interfaces/__init__.py:1.2	Tue Feb 24 09:07:21 2004
+++ Zope3/src/zope/i18n/interfaces/__init__.py	Fri Feb 27 12:36:38 2004
@@ -183,8 +183,9 @@
 
 
 class IUserPreferredLanguages(Interface):
-
     """This interface provides language negotiation based on user preferences.
+
+    See: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4
     """
 
     def getPreferredLanguages():




More information about the Zope3-Checkins mailing list