Hi,
My scenario is the following: I have a website with two languages, en-Us and fr-FR. When I click on my link (http handler) I want to redirect to the relevant page link (page name actually), in order to do so I use the Globals.NavigateUrl methods that creates my page url.
The point is that this method throw an null pointer exception in Localization.vb line 922 (in GetCurrentLocales() portalSettings are null). So I decided to set the portal settings in the context before calling NavigateUrl and this method always returns a url string to default locale (System.Globalization.CultureInfo.CurrentCulture is always en-US).
So: why at this time the portalSettings are null in the context ? Why NavigateUrl if I have prevously set the settings always returns the page url for en-US and not fr-FR ?
Do I must set the entire context in my http handler and get the current locale in the cookie or somewhere else ? Yet System.Globalization.CultureINfo.CurrentCulture is good inside modules code even if the language parameter is not set in the url.
Thanks for your light on this (issue?)
Thierry