Back to index

plone3  3.1.7
Public Member Functions
plone.i18n.negotiator.fallback.LanguageFallback Class Reference

List of all members.

Public Member Functions

def __init__
def fallback

Detailed Description

Definition at line 6 of file

Constructor & Destructor Documentation

Definition at line 10 of file

00011     def __init__(self):
00012         pass

Here is the caller graph for this function:

Member Function Documentation

Definition at line 13 of file

00014     def fallback(self, language):
00015         # pt is not a fallback for pt-br
00016         if language.startswith('pt-br'):
00017             return ()
00018         parts = language.split('-')
00019         return (parts[0],)

The documentation for this class was generated from the following file: