[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/Browser - BrowserLanguages.py:1.4
Stephan Richter
srichter@cbu.edu
Wed, 12 Jun 2002 20:04:28 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/Browser
In directory cvs.zope.org:/tmp/cvs-serv26470/lib/python/Zope/Publisher/Browser
Modified Files:
BrowserLanguages.py
Log Message:
YEAH! The first translations work. If you switch your user language to 'de'
you can see two German phrases in the management screen of a Translation
Service.
I also made somce changes in the TALInterpretor, but I dunno whether my
changes were correct...lack of sleep... Fred and Barry, could you double
check?
=== Zope3/lib/python/Zope/Publisher/Browser/BrowserLanguages.py 1.3 => 1.4 ===
# Zope.I18n.IUserPreferredLanguages.
- def getLanguages(self):
+ def getPreferredLanguages(self):
'''See interface IUserPreferredLanguages'''
langs = []
for lang in self.request['HTTP_ACCEPT_LANGUAGE'].split(','):