sleep before redirect to give livestatus a chance to get refreshed data
use locales instead of hard coded text