Easy JavaScript Internationalization in Rails using the I18n-js gem

Ruby on Rails provides a well-documented and established Internationalization API for server-side localization. However, many projects I've seen forget to internationalize their front-end JavaScript framework and end up hard-coding text everywhere. For some people, this works, but for larger projects…