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...Localize ascx with XepientLocalize ascx with Xepient's Open-Smart Module
Previous
 
Next
New Post
8/25/2008 1:07 AM
 

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!


View Brenden Kehren's profile on LinkedIn
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Localize ascx with XepientLocalize ascx with Xepient's Open-Smart Module


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