'Language Selector'

@classmethod
def menu_lang(cls):

    s3 = current.response.s3
    menu_lang = ML('Language', right=True)
    for language in s3.l10n_languages.items():
        (code, name) = language
        menu_lang(ML(name, translate=False, lang_code=code, lang_name=name))
    return menu_lang
