fix + i18n register function