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...Skins, Themes, ...Skins, Themes, ...how to localization in skin?how to localization in skin?
Previous
 
Next
New Post
5/3/2008 5:16 PM
 

I can vouch for the ml skin helper, http://www.schwingsoft.com/tabid/36/language/en-US/Default.aspx. It was one of my old projects that was later extended by apollo-software wih mo functionality

I am using the skin helper for all the module titles, yous ee them changing language wen you use the language selector

 

 
New Post
5/4/2008 8:52 PM
 

woow, that is great, can you make some share here?


sunblognuke v5 for dnn

Ultimate Blogging Module for DotNetNuke Platform
The professional provider of DotNetNuke support, skin design and custom module development.

 
New Post
5/5/2008 4:26 AM
Accepted Answer 

Hi

Not much to share, it uses the mlskinhelper.

in an admin module you can define variables for each of your module title and then incontainer you need to modify the title tag  like

<dnn:TITLE runat="server" id="dnnTITLE" visible="false"/>
<%dim moduleID as string = DotNetNuke.UI.Containers.Container.GetPortalModuleBase(dnnTitle).ModuleId.ToString() %>

The actual display of the localized title goes like this then:

<span class="Head"><%=MLSkinHelper.LocalizeMe("ModuleTitle_" & ModuleID, True)%></span>

 

 
New Post
5/15/2008 11:31 AM
 
Yeah, I had heard that Sebastian Leupold just said:
DNN 5 will allow for more flexibility using the [Text] skin object, which supports core token replace, which gives you more flexibility and a bunch of  additional tokens and formatting options.
And then I had develope our localization WindyText(Skin Object) for our skin localization solution temporarily, please get it from our website here : WindyText.zip
To use the skin object, please just follow the steps below:
1) unzip the attachment and copy the files ( WindyText.ascx,WindyText.ascx.vb,WindyText.xml) into the folder admin/Skins of web root
2) copy the WindyText.ascx.resx( or WindyText.ascx.zh-CN.resx) into the folder admin/Skins/App_LocalResources of web root.
3) Register and use it in your skin as follows:
   <%@ Register TagPrefix="dnn" TagName="WINDYTEXT" Src="~/Admin/Skins/WindyText.ascx" %>
   <div class="siteBreadCrumb">  
    <dnn:WINDYTEXT ID="lblbreadcrumbTip" LocalizationKey="breadcrumbTip" runat="server" /> 
    <dnn:BREADCRUMB runat="server" ID="dnnBreadCrumb" Separator=" / " RootLevel="0" />  
  </div>
4) Remember the three properties as follows:
   LocalizationKey: the Localization Key for your Text which will be rendered with localization.
   DefaultValue: the Default Value if you did not apply any LocalizationKey.
   CssClass: as you know, it is just the style definition of the skin object.
   For example:
   <dnn:WINDYTEXT ID="lblbreadcrumbTip" LocalizationKey="breadcrumbTip" runat="server" />
  will apply the LocalizationKey "breadcrumbTip" in the WindyText.ascx.resx there, so there should exist some definitions such as breadcrumbTip.Text = "You Are Here:".

Tot get the more information, please visit http://www.dnnsun.com/Community/BaldwinsBlog/tabid/67/EntryID/36/Default.aspx or our website dnnsun.com!


sunblognuke v5 for dnn

Ultimate Blogging Module for DotNetNuke Platform
The professional provider of DotNetNuke support, skin design and custom module development.

 
New Post
5/15/2008 12:41 PM
 

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...Skins, Themes, ...Skins, Themes, ...how to localization in skin?how to localization in skin?


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