JavaScript i18n for dg.js