Back to index

plone3  3.1.7
default.py
Go to the documentation of this file.
00001 from zope.i18n.interfaces import IUserPreferredLanguages
00002 from zope.interface import implements
00003 
00004 
00005 class DefaultLanguage(object):
00006 
00007     implements(IUserPreferredLanguages)
00008 
00009     def __init__(self, request):
00010         self.request = request
00011 
00012     def getPreferredLanguages(self):
00013         """Return a sequence of user preferred languages."""
00014         return []