I'm using github.com/fnando/i18n-js gem for JavaScript translation. I noticed when I view source the page and check the translations.js it loads the complete translations file, even if that page is using only one translation word.
Any idea how JavaScript can load the required translations for a the current page rather loading the complete file.