[Zope-Checkins] CVS: Zope3/lib/python/Zope/I18n - ILanguageAvailability.py:1.1.2.1
Jim Fulton
jim@zope.com
Sat, 19 Jan 2002 12:31:43 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/I18n
In directory cvs.zope.org:/tmp/cvs-serv4550
Added Files:
Tag: Zope-3x-branch
ILanguageAvailability.py
Log Message:
Provide an interface for getting a list of available languages. This
is needed for language negotiation.
=== Added File Zope3/lib/python/Zope/I18n/ILanguageAvailability.py ===
##############################################################################
#
# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""
Revision information: $Id: ILanguageAvailability.py,v 1.1.2.1 2002/01/19 17:31:43 jim Exp $
"""
from Interface import Interface
class ILanguageAvailability:
def availableLanguages():
"""Return a sequence of language tags for available languages
"""