Fix i18n issue when lang changed during session