rivets-intl
Rivets.js component for internationalization
Overview
rivets-intl uses IntlMessageFormat to render translated strings that can be bound by rivets
Usage
In your rivets setup add rivets-intl as a component
var messages = 'en-US': greeting: formal: "Hello, { name }" ; var locale = 'en-US'; Rivetscomponentsi18n = messages locale;
In a template file
Then bind data
var data = full_name: "Black Widow" ; Rivets;
The result will be a string:
Hello, Black Widow