Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Localize It! (L...  Why does DotNetNuke not support standard ASP.NET 2.0 localization
Previous Previous
 
Next Next
New Post 7/4/2007 4:00 AM
User is offline Rupert Eder
2 posts
10th Ranked


Why does DotNetNuke not support standard ASP.NET 2.0 localization 

Hello,

I am trying now a few days to localize my DotNetNuke modules. I am really frustrated about the built in localization methods of DotNetNuke!!!

I created my Modules from several User Controls to create a modular system. So I was testing the user controls first without using DotNetNuke. Everything was working fine.

I was using standard Resource Files and added to all the labels, grids etc. meta:resourcekey="..." .

Everything was working outside of DotNetNuke!!!

Then I tried to integrate my user controls into my DotNetNuke Modules and my problems began!!!

I found out that DotNetNuke is using an alternative approach for localization, using the property resourcekey. But how can I localize for example a GridView Control??? I can't add the resourcekey property to a BoundField. I always get the error: The type
 BoundField has no public property called 'resourceKey'. I don't want to add some additional localization logic to my modules.

Why can't I just use standard ASP.NET localization with DotNetNuke!!!

I am absolutely despaired, because the localization is last part of my project and I've alrey exceeded the project budget.

So if anyone could help me, I will be very appreciate!!!

 

 

 

 

 
New Post 7/4/2007 5:56 AM
User is offline Sebastian Leupold
15057 posts
www.deutschnetnuke.de
1st Ranked












Re: Why does DotNetNuke not support standard ASP.NET 2.0 localization 

did you check out the Module Localization Guide and the Localization Architecture?


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 7/4/2007 6:10 AM
User is offline Rupert Eder
2 posts
10th Ranked


Re: Why does DotNetNuke not support standard ASP.NET 2.0 localization 

First of all, thanks for your quick response - Yes of course I did :-(.

In every post in this forum about questions regarding the localization, this answer comes as response :-( .

Did no one read the release date of this document - It's March 2006!!! It is not up to date - just like most of the remaining parts of the documentation...

I don't want to integrate another method call into my user controls just to translate a grid view as suggested at another post.

Again, I just want to use the very comfortable built in ASP.NET 2.0 localization using meta:resourcekey. I am wondering how DotNetNuke was switching the built in localization off!!!

If you are not familiar with the standard way:

you just have to add to your control you want to translate the property meta:resourcekey="lblTestLabel".

Now you have to add the key lblTestLabel to your Resource File, and you just have to add seperated by a dot the property you want to have translated e.g. lblTestLabel.Text to translate the text property....

Why can't I just do the same in DotNetNuke!?

 

 

 

 

 
New Post 7/4/2007 7:05 AM
User is offline Albertramsbottom
473 posts
www.classcampers.com
8th Ranked


Re: Why does DotNetNuke not support standard ASP.NET 2.0 localization 

Hi

Becuase DNN wasnt built using the ASP.Net 2.0 model.  The guys who developed DNN have been working on it for years and the introduction ASP.net 2.0 came later.  I think the switch over has been happening, for instance DNN now uses the ASP.net membership provider!  But as for the localisation issues you will have to have a look at the roadmap for DNN

 

Cheers


Class Campers -The Home of the Volkswagen camper & Bus Enthusiast
Worlds Cheapest Homes - Need a Cheap Property, cant afford a home
Beeb iPlayer - Need help with the BBC's new iPlayer software
Internet Insurance Quotes - For the the information you will ever require about Insurance
 
New Post 7/4/2007 9:03 AM
User is offline Sebastian Leupold
15057 posts
www.deutschnetnuke.de
1st Ranked












Re: Why does DotNetNuke not support standard ASP.NET 2.0 localization 

DotNetNuke localization was introduced in DNN3 before ASP.Net 2.0 was released. It used to use the standard resource file format, but supports only text data with value attributes. Regarding the implementation, DotNetNuke localization has some analogies with ASP.Net 2.0 localization but is independent from it and has a different mechanism to retrieve languages and resource files to apply. If you want to implement enhancements, you are welcome to donate them to the core team.

As there have been minor changes to the localization system during the past 2 years, the localization guide is still up2date.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Localize It! (L...  Why does DotNetNuke not support standard ASP.NET 2.0 localization
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP