adding i18n label support to register