hi tried to setup the errorpages in umbracoSettings.config for different cultures.
My settings look like this
<errors>
<!-- the id of the page that should be shown if the page is not found -->
<errorPage culture="de-DE">1773</errorPage>
<errorPage culture="en-US">1774</errorPage>
<error404>1773</error404>
</errors>
But no matter on which culture i browse i always get the DE-page with the ID 1773 as errorpage. Actually i would like to have a 404errorpage for each culture
regarding to this i checked the current Culture of my sites and they are definitely "de-DE" and "en-US" and my entry in umbrcoSettings.config looks like this
The example above is from a working copy... But I've been strugling with this myself. It seems to me that it sometimes work and other times doesn't. :(
Regarding checking for the current culture (if it really is "de-DE"), the easiest way to do that is just to add "?umbDebugShowTrace=true" after your page, like www.test.de/testsite.aspx?umbDebugShowTrace=true. It will tell you the current culture plus a lot more. Just a tip from here... =)
I have created a multi lingual web site in Umbraco in German and English language. I am having a similar problem that the dictionary items are rendering fine but not the error 404 page
My site structure below:
Content
--EN(hostname mywebsite.com/en and Language English(United States))
---child pages
--DE(hostname mywebsite.com/de and Language German(Germany))
--child pages
--
Can you please let me know what your inconsistencies where with the host name to help me fix the issue. Many thanks in advance.
Do you remember what you did to resolve this? My hostnames seem correct, dictionary items are pulling for each language accordingly, but it's still not working for me. I've been pulling my hair out over this one.
I'm not sure about the above way of achieving this, but uComponents has something called a Multi Site Page Not Found Handler, which enables you to easily specify different 404 pages for multiple sites. I've used this in a multilingual solution to achieve the same result. Perhaps you could use this instead (assuming you're using a multi-site multi-lingual solution)?
errorpages for multilingual site
hi
tried to setup the errorpages in umbracoSettings.config for different cultures.
My settings look like this
But no matter on which culture i browse i always get the DE-page with the ID 1773 as errorpage.
Actually i would like to have a 404errorpage for each culture
Did i miss something important?
thank you for any help
/horst
Try to do it this way:
<errors>
<error404>
<errorPage culture="default">1773</errorPage>
<errorPage culture="en-US">1774</errorPage>
<errorPage culture="de-DE">1773</errorPage>
</error404>
</errors>
hm, culture="default" is regognized.
but culture="en-US" and culture="de-DE" not
i get the same page anyway if i browse the de or en pages
tried with culture="en" and culture="de" as well - no success
seem to me that the definition of the cultures is not correct
btw, dictionary items are working
regarding to this i checked the current Culture of my sites and they are definitely "de-DE" and "en-US"
and my entry in umbrcoSettings.config looks like this
but in case of an error i always get the page with the id 1773
any ideas what else i could try?
thank you
/horst
The example above is from a working copy... But I've been strugling with this myself. It seems to me that it sometimes work and other times doesn't. :(
Regarding checking for the current culture (if it really is "de-DE"), the easiest way to do that is just to add "?umbDebugShowTrace=true" after your page, like www.test.de/testsite.aspx?umbDebugShowTrace=true. It will tell you the current culture plus a lot more. Just a tip from here... =)
ok, thank you - know this but did't think about that it spits out culture as well.
says the same "de-DE" and "en-US"
finally solved the problem.
had some inconsistencie managing hostnames
thank you for support
/horst
Did you have to do anything specific to make it work? :)
Hi,
I have created a multi lingual web site in Umbraco in German and English language. I am having a similar problem that the dictionary items are rendering fine but not the error 404 page
My site structure below:
Content
--EN(hostname mywebsite.com/en and Language English(United States))
---child pages
--DE(hostname mywebsite.com/de and Language German(Germany))
--child pages
--
Can you please let me know what your inconsistencies where with the host name to help me fix the issue. Many thanks in advance.
Hey Horst,
Do you remember what you did to resolve this? My hostnames seem correct, dictionary items are pulling for each language accordingly, but it's still not working for me. I've been pulling my hair out over this one.
Thanks,
Jay
Hi Jay,
I'm not sure about the above way of achieving this, but uComponents has something called a Multi Site Page Not Found Handler, which enables you to easily specify different 404 pages for multiple sites. I've used this in a multilingual solution to achieve the same result. Perhaps you could use this instead (assuming you're using a multi-site multi-lingual solution)?
-Tom
is working on a reply...