Skip to content
Snippets Groups Projects
  • Hanne Moa's avatar
    Refactor SimpleSAML_XHTML_Template · d2759355
    Hanne Moa authored
    A template now has a translator-object, SimpleSAML_Locale_Translate.
    This handles the existing translation system.
    
    The translator has a language-object, SimpleSAML_Locale_Language. This
    handles discovery and switching of locale.
    
    SimpleSAML_XHTML_Template has several methods that are wrapped
    translator-methods:
    
    t()
    isLanguageRTL()
    getLanguageList()
    getTranslation()
    
    This way it isn't necessary to change much of the existing system.
    d2759355
Code owners
Assign users and groups as approvers for specific file changes. Learn more.