'Represent a language code by language name, uses the
representation from deployment_settings if available
rather than translation into current UI language.
@param code: the language code'

@classmethod
def represent(cls, code):

    l10n_languages = current.deployment_settings.get_L10n_languages()
    if (code in l10n_languages):
        name = l10n_languages[code]
    else:
        name = cls.represent_local(code)
    return name
