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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage Packs.NET 2.0 Localization and DNN 4.x.x not compatible?.NET 2.0 Localization and DNN 4.x.x not compatible?
Previous
 
Next
New Post
2/20/2006 7:58 PM
 

Folks,

I've been trying to use .NET 2.0 localization in my DNN 4.0.2 project to no avail.  I get null reference exceptions galore when trying to use local or global resources with any of these valid and supported methhods:
http://www.asp.net/QuickStart/aspnet/doc/localization/localization.aspx

I cannot get Strong Typed localization working at all.  the Resources Namespace does NOT show up.  And I believe this is because when I compile, the resource objects cannot be built due to errors in the way DNN has structured its resources  (such as  .Text not being valid in global resources)

May this is not new news?  DNN porting to .NET 2.0 framework known issue?  Or if it is working for other people, I'd sure like to know what the trick is.

 
New Post
2/21/2006 5:34 AM
 

DotNetNuke has its own localization scheme, please refer to the localization document to be found in the documentation pack, available for download at http://www.dotnetnuke.com/default.aspx?tabid=125


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/21/2006 1:40 PM
 

Yes, Thanks.  I am aware of the scheme DNN uses for localization.  I like it, I use it.  What I am trying to point out in this thread I suppose is the fact that in should "extend" the dot net framework, not replace or break it.  I should be able to use .NET 2.0 and DNN localization schemes.  I suspect this is simply a matter of DNN 4x being an initial port from .NET 1.1 (DNN 3x) that is not cleaned up and streamlined for .NET 2.0 yet.  On that topic, I think there are vast amounts of DNN 4x that need revisit to utilize .NET 2.0 more efficiently, but that is beyond the scope of this thread. 

The fact stands that DNN 4x breaks .NET 2.0 localization scheme, rather than expand on it, so far as I can see currently with DNN 4.0.2.

 
New Post
3/6/2006 11:27 AM
 

This was also my experience when trying to use my webusercontrols from standard asp.net 2.0 in dnn 4. I was quite disappointed, when I could not make use of local and global resource files. The new localization features is one of the best approvements in .net 2.0.

Is there any hope that this will soon be reviewed in dnn 4 so that standard .net 2.0 localization is supported?

 
New Post
3/6/2006 12:07 PM
 

Of cause, DNN localization is older than ASP.Net 2.0 and currently DNN 3.2 and DNN 4.0 share the same code base, have the same functions and interfaces - and this shall remain until developement of DNN 3 is retired. But even after this New ASP.net 2.0 features will only be implemented, if their usage brings more advantages than disadvantages. So any extension will need to fully support all current language packs and bring new opportunities for localization. Today developers have one individual resource files per ascx and a shared one per module. Currently there is a strong developement need for content localization - and I would like to see the core team to focus on this feature.

Just my 2 cents.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage Packs.NET 2.0 Localization and DNN 4.x.x not compatible?.NET 2.0 Localization and DNN 4.x.x not compatible?


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