Logo Search packages:      
Sourcecode: zope-localizer version File versions  Download package

def Localizer::LanguageManager::LanguageManager::get_selected_language (   self,
  kw 
)

Returns the selected language.

Accepts keyword arguments which will be passed to
'get_available_languages'.

Definition at line 142 of file LanguageManager.py.

00142                                          :
        """
        Returns the selected language.

        Accepts keyword arguments which will be passed to
        'get_available_languages'.
        """
        available_languages = apply(self.get_available_languages, (), kw)

        return lang_negotiator(available_languages) \
               or self.get_default_language()

    # Unicode support, custom ZMI
    manage_page_header = LocalDTMLFile('ui/manage_page_header', globals())


Generated by  Doxygen 1.6.0   Back to index