a minimalistic approach to internationalization for javascript-based templates