Skip to content
Snippets Groups Projects
  1. Aug 26, 2018
  2. Aug 24, 2018
  3. Aug 22, 2018
  4. Aug 16, 2018
  5. Aug 13, 2018
  6. Aug 08, 2018
  7. May 31, 2018
  8. Apr 13, 2018
  9. Oct 19, 2017
  10. Oct 17, 2017
    • Jaime Pérez Crespo's avatar
      Add a "translateFromArray" filter to twig. · 840f2242
      Jaime Pérez Crespo authored
      This allows us to use this new filter to translate strings from a given array of translations, where every translation is indexed by its ISO 639 code. A new configuration option ('language' -> 'priorities') is available too to control the alternative languages that can be used instead of a given language, when the latter is not found. The filter returns null when no suitable translation is found, so that it can be combined with "default()" to set a default translation for a given string.
  11. Oct 27, 2016
  12. Oct 11, 2016
  13. Oct 07, 2016
  14. Oct 04, 2016
  15. Sep 15, 2016
  16. Sep 07, 2016
  17. Jul 13, 2016
  18. Feb 05, 2016
  19. Jan 14, 2016
    • Hanne Moa's avatar
      Fixed comments from previous pull-request · 6492ce36
      Hanne Moa authored
      6492ce36
    • 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
  20. Nov 06, 2015
  21. Jul 03, 2015
  22. Apr 21, 2015
  23. Jan 15, 2015
  24. Jul 09, 2014
  25. Sep 04, 2013
  26. Jan 08, 2013
Loading