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...DNN vs ASP.NET localization systemDNN vs ASP.NET localization system
Previous
 
Next
New Post
6/30/2010 8:30 AM
 
I think that DNN has taken a strategic wrong turn in disabling ASP.NET 2.0 localization features in favour of it's home-grown version of the same. Why?
  • ASP.NET localization is more powerful (multiple implicitly localizable properties per control, as opposed to DNN's single property)
  • ASP.NET localization is more economical to implement (implicit and explicit syntax means you rarely have to write a line of code)
  • ASP.NET localization is part of the framework on which DNN is built: why reinvent the wheel and increase the size of the code-base DNN has to maintain?
As it appears that the ASP.NET features are disabled using a switch in web.config, how difficult would it be to only enable the DNN localization system when the ASP.NET system is disabled, thereby giving users the choice of the system they use? That would provide compatibility for existing modules and skin objects that do it the DNN way.


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
6/30/2010 11:03 AM
 
Paul, first, DNN localization is older than ASP.Net localization, it was built as compatible as possible when ASP.Net 2 was on the horizon (first bits available), but there are some advantages, ASP.Net does not support: overriding per portal and for all portals, as well as using its own fallback language chains (which are not implemented in ASP.Net 2.0 as well, AFAIK). There is a project by Brandon Haynes on codeplex for integration of ASP.Net 2.0, Brandon might state, whether all features are supported.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/30/2010 12:04 PM
 
Hi Sebastian,

Yes, fair point, I'm not taking into account the history, and I'm overlooking the advantages that DNN localization offers. Localization per portal is a case in point. Thanks for bringing it to my attention.

On the other hand, ASP.NET does support fall-back - a natural fall-back chain from a specific to a general culture and then to a "neutral" culture (eg. fr-CA, fr, default) which is what you'd normally define manually in DNN anyway. I can't think of any use cases that would lead you to configure it differently.

The reason I'm thinking about this is that I need to make a decision on which set of UI controls to use for a particular project. It turns out that the best candidate from every other point of view has one significant disadvantage: that it is going to mean devising my own localisation system, simply because DNN has blocked ASP.NET localization features.

Thanks for the tip about Brandon Haynes' project, I'll check it out.


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
6/30/2010 12:51 PM
 
Paul, there are use cases for fallback languages other than en-GB to en-US, which is implemented in DNN in Browser language detection. In fact, in a true multilingual site might have pages with missing content, which either shall be hidden or using another language instead.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...DNN vs ASP.NET localization systemDNN vs ASP.NET localization system


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