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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Localize It! (L...  translating a module
Previous Previous
 
Next Next
New Post 5/12/2007 3:36 AM
User is offline mario
11 posts
10th Ranked


translating a module 

hi, i am a new "inexperienced" comer to the community (from italy) and am probably asking a stupid question, but i would like to now how can i translate a module (for example the forum module) from english to italian. Does this require some technical skills or can it  be done quite simply by just changing the label and text in some way?

Considering that my technical background is almost non-existent (even so i have been able to build perfectly functional sites with DNN) i hope that this can be done by someone with my profile and can you also tell me how i could share these eventual translation with the italian DNN comunity?

thanks

 
New Post 5/12/2007 3:15 PM
User is offline Sebastian Leupold
15045 posts
www.deutschnetnuke.de
1st Ranked












Re: translating a module 

Assuming you already installed DotNetNuke, the associated italian language package and the module, you need to log in as host, go to languages item in host menu, select the language editor. Activate option "system"(!), select your language and check "highlight pending items". then select localResources :: DesktopModule :: <moduleName> in the tree on the left and you get displayed all entries per file. Edit the values for each key and save the file, repeat until all module's files are done. Check the result by viewing the module, if you are satisfied, you can create a distributable language pack file from host :: languages menu item.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 5/14/2007 1:47 AM
User is offline mario
11 posts
10th Ranked


Re: translating a module 

I thought that it could be done by someone like me (after my initial expriences with dnn) but I didn't think it could be that simple! Thank you for you help.

 
New Post 5/19/2007 8:19 AM
User is offline Guy Jascht
262 posts
www.simcat-tech.com
9th Ranked


Re: translating a module 
Modified By Guy Jascht  on 5/19/2007 10:19:55 AM)

There's another way to translate (quicker - i prefer this solution) a module. 
First you copy the resources file (normally in the directory App_LocalResources) and rename the filename for your localization code. Here's an example: the original file is namexy.ascx.resx  - i'm from austria,  so the austrian/german file would be called namexy.ascx.de-AT.resx .
Then you open the file you want to translate ( namexy.ascx.de-AT.resx). It's a XML file (what editor you prefer) and translate all the content in the <value> ... </value> Tags. Here's an example:

From:
...
<data name="lblContent.Text" xml:space="preserve">
    <value>Content</value>
</data>
...
To:
...
<data name="lblContent.Text" xml:space="preserve">
    <value>Inhalt</value>
</data>
...

That's it!

Don't forget that you must activate your language for your portal (admin->languages).

good luck!

 
New Post 5/19/2007 8:25 AM
User is offline Sebastian Leupold
15045 posts
www.deutschnetnuke.de
1st Ranked












Re: translating a module 

 jascht wrote

Then you open the file you want to translate ( namexy.ascx.de-AT.resx). It's a XML file (what editor you prefer) and translate all the content in the Value-Tags. 

Two disadvantages of this procedure:

  • if you have HTML tags in your text, these needs to be HTML-Encoded
  • if you make any fault with the structure, having e.g. a left or right tag delimiter missing or double, localization will fail

Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Localize It! (L...  translating a 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.

 


DotNetNuke Marketplace - Modules & Skins
The DotNetNuke Marketplace is the official e-commerce gateway for the DNN ecosystem. It's the place to buy and sell DotNetNuke modules, DotNetNuke skins, and other DNN offerings.
DotNetNuke Marketplace
ExactTarget Email Marketing Software and Solutions
ExactTarget delivers on-demand email software solutions for permission-based email marketing. ExactTarget offers solutions that meet the needs of all industry verticals and all size organizations, including SMB, corporate divisions, not-for-profits, large retail/direct marketers, agencies and enterprises.
ExactTarget.com
Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca

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