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  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Language Packs ...  Developing Locale aware modules
Previous Previous
 
Next Next
New Post 2/8/2007 10:11 PM
User is offline David Lumley
107 posts
www.go-real.net
9th Ranked


Developing Locale aware modules  

I am reletavely new to DNN and have a fairly involved module nearing completion,

unfortunately the work onn this has been stopped in preference to a more pressing task

The new task is a simple module that I would really like to develop with localisation in mind

I have the basic code complete I am now curious as to what the approved methods for localising a module are?

Is there an API guide check list or procedure listing as to what a developer should look at to achieve a localisation aware module???


Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post 2/8/2007 11:33 PM
User is offline Sebastian Leupold
13620 posts
www.deutschnetnuke.de
1st Ranked












Re: Developing Locale aware modules  
have a look at the module developer localization guide, that is included with the documentation package.
Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 2/25/2007 8:45 PM
User is offline David Lumley
107 posts
www.go-real.net
9th Ranked


Re: Developing Locale aware modules  

I have looked at the guide localisation guide which is most useful but doesnt seem to cover how make a module locale aware for its data retrieval

I assume that this is being  developed and will mean an additional field in the database and a small code change to retrieve data for the specific locale??


Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post 2/28/2007 11:16 PM
User is offline David Lumley
107 posts
www.go-real.net
9th Ranked


dnRe: Developing Locale aware modules  

I am having a problem using a string from the res file

If I set the string in code it seems to work OK

If I load it from the Local resourse XML file then for some reason it has to have quotes round it in the XML file to appear ( I then have to remove them from the string I am building in my code

I have tried using the htmldecode function on the string but this doesnt seem to change things

If I have also tried to save it to a database field in my code but this doesnt help either

But if I read it from that field and update it - even though there are no changes to the data then it behaves as expected

Is there something I should know about the setting in the resourse file???

 


Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post 3/2/2007 7:38 PM
User is offline David Lumley
107 posts
www.go-real.net
9th Ranked


Re: dnRe: Developing Locale aware modules  

I have looked at the string the localisation.getstring that is returned and see it has some spurious blank charachters at the end - unfortunately even triming these does little to improve the performance of my module.

I have also tried setting it as a help type key but still the same problem


Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Language Packs ...  Developing Locale aware modules
 


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