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