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...translating a moduletranslating a module
Previous
 
Next
New Post
5/12/2007 5:36 AM
 

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 5:15 PM
 

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.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/14/2007 3:47 AM
 

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 10:19 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 10:25 AM
 

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

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...Language and In...Language and In...translating a moduletranslating a 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