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  |  

Affordable ASP.NET Hosting Service
  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  how to localization in skin?
Previous Previous
 
Next Next
New Post 5/3/2008 3:16 PM
Online now... armand datema
214 posts
9th Ranked


Re: how to localization in skin? 

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

 


Armand Datema
Complex css/xhtml and unobtrosive javascript skin conversion to make you stand out from the crowd

Latest work itbuzz & nu.nl/Z

SchwingSoft

 
New Post 5/4/2008 6:52 PM
User is offline baldwin
115 posts
www.dnnsun.com
9th Ranked


Re: how to localization in skin? 

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


www.dnnsun.com:The professional provider of DotNetNuke support, skin design and custom module development.
The professional provider of DotNetNuke support, skin design and custom module development.
 
New Post 5/5/2008 2:26 AM
Accepted Answer 
Online now... armand datema
214 posts
9th Ranked


Re: how to localization in skin? 

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>

 


Armand Datema
Complex css/xhtml and unobtrosive javascript skin conversion to make you stand out from the crowd

Latest work itbuzz & nu.nl/Z

SchwingSoft

 
New Post 5/15/2008 9:31 AM
User is offline baldwin
115 posts
www.dnnsun.com
9th Ranked


Re: how to localization in skin? 
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!


www.dnnsun.com:The professional provider of DotNetNuke support, skin design and custom module development.
The professional provider of DotNetNuke support, skin design and custom module development.
 
New Post 5/15/2008 10:41 AM
User is offline Sebastian Leupold
16121 posts
www.deutschnetnuke.de
1st Ranked












Re: how to localization in skin? 

For DNN5 [Text] attribute, please read http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1829/Default.aspx


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group European Network of DotNetNuke Professionals

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  how to localization in skin?
 


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.

 


Vekkin Solutions
Vekkin Solutions provides complete website solutions and custom module development to churches and small businesses.
www.vekkin.com
Powered by Adcuent®.Com
Adcuent® Consulting & Technology offers custom development web applications and hosting projects under the brand of Powered by Adcuent®.Com
www.adcuent.com
Easily Build DNN Solutions with XMod
XMod makes it easy to build news articles, house listings, custom feedback forms, product reviews and much more - without programming
www.DNNDev.com

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