Products

Solutions

Resources

Partners

Community

About

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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksTranslation using .resx files is failedTranslation using .resx files is failed
Previous
 
Next
New Post
5/6/2007 10:33 AM
 

Hi.

I create new module in DNN. I have there few files, and now I try to add the resx files.

I create a new resx file with the same name as the ascx file, and translate the resourcekeys from the ascx file, but nothing is change in the portal - I still see the text from the code.

All the labels are declared with resourcekey, the resx files are under folder 'App_LocalResources' in my module, and in the resx file I put the resourcekeys + .Text.

Where is my mistake???? what did I miss there?

Maybe they are some defenitions that should be set before start working with localization in this format?

Thanks, Itai.

 
New Post
5/6/2007 1:20 PM
 

did you checkout the module developer localization guide, available from the documentation page here on dotnetnuke,com?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/7/2007 1:01 AM
 

Yep. I did according to the DNN guide, and still something is missing, maybe a global definition or something.

 
New Post
5/8/2007 7:53 AM
 

Hi,

i am currently facing exactly the same problem:

I have created a small module (only some labels and textboxes and one button). Then i have created the local resourecs for the module and translated them into the target language ("de-DE") in a resourcefile i renamed to "modulename.ascx.de-DE.resx"

Whe i select the german language in DNN the module is not shown with the translations i made. I have checked the language editor for my module and the translations are there! That means they are diesplayed in the language editor correctly. But when the module is displayed they do not show up, i see the english versions (the module has been created using english labels)

All other (standard-)modules are localized fine using language packs.

In my portal german is the default language but i have also tried to set englisch as default language but got no other result.

Has anyone an idea what could go wrong when localizing?

I am using DNN 4.5.1

Thanks in advance,

Ralf

 

 

 
New Post
5/8/2007 10:23 AM
 

Ralf,

make sure to set you own language to de-DE in your user profile, when viewing the page.

make sure, you removed all text from the controls and get them from the resource file in english version - to verify, if you set "Show localized keys" in web config, they shall all be preceeded by (L).

Make sure, you restarted the application to clear the cache.

HTH


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksTranslation using .resx files is failedTranslation using .resx files is failed


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