I have a multilingual site and an struggling to get an error page working that displays the correct language for the site. Here's a description of the setup:
Umbraco is configured with a node for each language and the domain for that language set in the manage hostnames dialog.
What I want to be able to do is show a screen on a 500 error that respects the language of the current site.
I've tried my own HTTP Module but the thread culture is set after the error is handled so the culture is always en-us.
Anyone else have any suggestions on how I might be able to do this?
Another related issue are errors thrown in usercontrol based macros. These currently appear to get swallowed by Umbraco I'd like to be able to log these errors to a case management system but because Umbraco prevents the error bubbling up I can't capture it using a HTTPModule.
Multilingual errors in Umbraco
Hiya,
I have a multilingual site and an struggling to get an error page working that displays the correct language for the site. Here's a description of the setup:
Umbraco is configured with a node for each language and the domain for that language set in the manage hostnames dialog.
What I want to be able to do is show a screen on a 500 error that respects the language of the current site.
I've tried my own HTTP Module but the thread culture is set after the error is handled so the culture is always en-us.
Anyone else have any suggestions on how I might be able to do this?
Another related issue are errors thrown in usercontrol based macros. These currently appear to get swallowed by Umbraco I'd like to be able to log these errors to a case management system but because Umbraco prevents the error bubbling up I can't capture it using a HTTPModule.
Again any advice or suggestions on this?
Tim
is working on a reply...