Skip to content
Snippets Groups Projects
  1. Apr 13, 2018
  2. Oct 19, 2017
  3. 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.
  4. Oct 27, 2016
  5. Oct 11, 2016
  6. Oct 07, 2016
  7. Oct 04, 2016
  8. Sep 15, 2016
  9. Sep 07, 2016
  10. Jul 13, 2016
  11. Feb 05, 2016
  12. 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
  13. Nov 06, 2015
  14. Jul 03, 2015
  15. Apr 21, 2015
  16. Jan 15, 2015
  17. Jul 09, 2014
  18. Sep 04, 2013
  19. Jan 08, 2013
  20. Jan 07, 2013
  21. Oct 12, 2012
  22. Dec 19, 2011
  23. Dec 06, 2011
  24. Sep 09, 2011
  25. May 26, 2011
  26. Oct 21, 2010
Loading