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