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...DNN5.1.4 Create Language Pack errorDNN5.1.4 Create Language Pack error
Previous
 
Next
New Post
11/21/2009 3:21 PM
 

Hi all

I get this when trying to create a Dinish Language Pack:

Create Language Pack

 
Error Error: is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: An item with the same key has already been added. ---> System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at DotNetNuke.Modules.Admin.Languages.LanguagePackWriter.CreatePackage(PackageInfo package, Int32 dependentPackageID, String basePath, String fileName, Boolean createZip) at DotNetNuke.Modules.Admin.Languages.LanguagePackWriter.CreateModulePackage(DesktopModuleInfo desktopModule, Boolean createZip) at DotNetNuke.Modules.Admin.Languages.LanguagePackWriter.CreateFullPackage() at DotNetNuke.Modules.Admin.Languages.LanguagePackWriter.cmdCreate_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

Any suggestions?

Niels-Jørgen Hvidberg

http://newcomtech.dk


Niels-Jørgen Hvidberg http://newcomtech.dk http://njhvidberg.dk
 
New Post
11/22/2009 5:52 AM
 

there seems to be already a language pack with same key, what are exactly the steps to reproduce?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/22/2009 8:27 AM
 

Hi Sebastian

Well, i have imported a version 4.9.4 Language pack via Install Extension and translated the missing strings to Danish, every time choosing System.

In Admin->Language i choose Create Language Pack, selects Danish, selects Full, Resource pack name unchanged and click Create.

I have serched for any language pack files on the server, there is none in folders that DNN know.

Is it still in the folder \Portals\_default they are created? ("Network service" has full access, so its not a security problem)

What else can i tell you.....hmm.

Oh, yes, there is a known problem with saving the \App_GlobalResources\GlobalResources.da-DK.resx file in DNN4.9.4, when i imported the resourcepack into DNN5.1.4 the error followed with. I had to delete the GlobalResources.da-DK.resx file and create a new one.

Hope this info helps :-)

Niels-Jørgen Hvidberg

http://newcomtech.dk


Niels-Jørgen Hvidberg http://newcomtech.dk http://njhvidberg.dk
 
New Post
11/22/2009 10:44 AM
Accepted Answer 

Niels,

AFAIK, create language pack feature has still a number of issues (one of the reasons, why we don't use DNN 5 in production yet).

  • language packs are created in /install/language subfolder now
  • download link for host users has unfortunately been removed
  • full language pack feature is broken
  • there are issues with modules having multiple module definitions like Repository and Store
  • creating core language pack should work without major issues
  • instead of creating full language pack, I suggest to zip all *.xx-YY.resx files together - that's how I currently provide German language packs. Users may either add language and unzip files or install core language pack and unzip files subsequently

As I got to know from Shaun Walker, the broken features shall be corrected in a future DNN version (past 5.2.0).


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/22/2009 2:01 PM
 

Thanks a lot, Sebastian, ill try the manual zip method.


Niels-Jørgen Hvidberg http://newcomtech.dk http://njhvidberg.dk
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...DNN5.1.4 Create Language Pack errorDNN5.1.4 Create Language Pack error


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