Changed i18n callback from async to sync.