add support for translations to error page
add support for translations to error page