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...Why does DotNetNuke not support standard ASP.NET 2.0 localizationWhy does DotNetNuke not support standard ASP.NET 2.0 localization
Previous
 
Next
New Post
7/4/2007 6:00 AM
 

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 7:56 AM
 

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


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/4/2007 8:10 AM
 

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 9:05 AM
 

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 11:03 AM
 

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.


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...Why does DotNetNuke not support standard ASP.NET 2.0 localizationWhy does DotNetNuke not support standard ASP.NET 2.0 localization


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