Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Language Detection Not Working in FirefoxLanguage Detection Not Working in Firefox
Previous
 
Next
New Post
2/27/2012 4:29 AM
 

Hey everyone,

I'm facing this issue not just on firefox, the behavior is also available on ie8. This is pretty upsetting to me since i'm using the language for several of my modules and the message returned is:

A critical error has occurred. Input string was not in a correct format.

It seems that System.Globalization.CultureInfo.CurrentUICulture.Name or   System.Threading.Thread.CurrentThread.CurrentCulture are returning NULL values on language switch.

 
New Post
2/27/2012 4:45 AM
 

This issue is not only being displayed in Firefox. I have faced it also in IE8.

It's pretty frustrating, since i'm using language detection in most of my  modules, and they are currently throwing

A critical error has occurred. Input string was not in a correct format.

 due to the fact that System.Threading.Thread.CurrentThread.CurrentCulture.ToString() or System.Globalization.CultureInfo.CurrentUICulture.Name.ToString() are both throwing Nulls when called for a different language than the default one.

When do we expect this issue to be fixed???

I propose a workaround for those who are facing my issue to use the following method:

Request.RawUrl.Contains("en-US")

this will test if your current url has the language code in it.

Sorry for the other posts, the page was hanging...

 
New Post
2/28/2012 7:32 PM
 
Matt wrote:
Is this the correct issue? http://support.dotnetnuke.com/issue/V...

yes, and according to the number of requests, I raised priority.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/29/2012 8:18 AM
 
Thanks Sebastian!

I'm quite surprised no one else has been anxious to get this issue addressed.

Matt
 
New Post
3/6/2012 5:54 AM
 

what's weird about this issue is that some localization load correctly and some do not. For example i have the login page loading some of the controls correctly while the user profile doesn't load any.

If anyone has a quick fix for this i need it badly.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Language Detection Not Working in FirefoxLanguage Detection Not Working in Firefox


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out