Adapt i18n.js to new namespace