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. Jul 31, 2018
  8. May 31, 2018
  9. Apr 13, 2018
  10. Jan 04, 2018
  11. Oct 25, 2017
  12. Oct 19, 2017
  13. 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.
  14. Jul 18, 2017
  15. Dec 15, 2016
  16. Nov 24, 2016
  17. Nov 15, 2016
  18. Nov 14, 2016
  19. Oct 27, 2016
  20. Oct 25, 2016
  21. Oct 12, 2016
  22. Oct 11, 2016
  23. Oct 07, 2016
  24. Oct 04, 2016
  25. Sep 15, 2016
Loading