Andrea Giammarchi (2014-12-16T13:53:26.000Z)
d at domenic.me (2014-12-19T22:52:07.893Z)
that's necessary for everything that has multi-language support ( at least the way it's done these days ) hence my snippet that makes interpolation/templating straight forward with dynamic strings. Down the gist you also have CSP meta tags too to include it as inline resource once + it scales a bit more than what Alex shown above since you don't need to write logic in the string itself or name function arguments, you just pass the object and you are good to go. Hope that helps but I'm also curious to know if there is actually a way using ES6 templates. Maybe we are missing something.