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  |  

DotNetNuke Marketplace
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Localize It! (L...  Localize ascx with Xepient's Open-Smart Module
Previous Previous
 
Next Next
New Post 8/24/2008 11:07 PM
Informative
User is offline b471code3
134 posts
www.froggeyestudios.com
9th Ranked


Localize ascx with Xepient's Open-Smart Module 

I did not build modules for my site.  I opted to use Xepient's Open-Smart Module I picked up off of Snowcovered.com.  It works great and allows the user to build .ascx files and load them into the control BUT it did not allow me to utilize the .NET or DNN localization power.  After working with Xepient and some trial and error on my end we came up with this solution:

As with any other DNN module add the following into your control: 

<asp:Label ID="lblEquipList" runat="server" Text="Equipment List" resourcekey="lblEquipList" Font-Size="X-Large">asp:Label>

Then navigate to the Open-Smart .resx file here: /DesktopModules/XepientSolutions.OpenSmartModule/App_LocalResources/.  Use the this file for English XSSmartModule.ascx.resx. 

Open the file with VS or XML editor or any text editor and add your resource information.  In this case I have added lblEquipList.Text = Equipment List.  For testing purposes I also added a XSSmartModule.ascx.fr-FR.resx file and added the same resource but gave it a different value: lblEquipList.Text = FR Equipment List. 

When I saved the file and copied it to the directory listed above it worked great!

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Localize It! (L...  Localize ascx with Xepient's Open-Smart Module
 


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.

 


WDK Solutions
Quality modules for the DotNetNuke community. Check out our 'wild' modules!
wdkns.com
UK - DotNetNuke providers
UK providers of DNN module development and skin package design. Oxford Information Labs provides cost-effective solutions for businesses and organisations specialising in Skin design and bespoke module development.
www.oxil.co.uk
TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com

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