JavaScript library for text and template translation