Vandelay.Industries TranslationManager Issue

Topics: Localization
Jul 19, 2013 at 9:01 PM
Edited Jul 19, 2013 at 9:02 PM
Hi,
Does anyone knows how the TranslationManager works? I need to generate the Po files from a owner module called SitiosArgos.

Here is what i typed on the command window:
orchard> extract default translation /Extensions:SitiosArgos /Output:\Temp

Error executing command "extract default translation"
--------------------------------------------------------------------------------


Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.85.5.452, Cu
lture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. The
system cannot find the file specified.

Exception Details: System.IO.FileNotFoundException: Could not load file or assem
bly 'ICSharpCode.SharpZipLib, Version=0.85.5.452, Culture=neutral, PublicKeyToke
n=1b03e6acf1164f73' or one of its dependencies. The system cannot find the file
specified.

Stack Trace:

[FileNotFoundException: Could not load file or assembly 'ICSharpCode.SharpZipLib
, Version=0.85.5.452, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one o
f its dependencies. The system cannot find the file specified.]
   at Fluent.Zip.ZipExtensions.ZipToStream(Path zipPaths, Func`2 zipPathToConten
t, Stream output)
   at Fluent.Zip.ZipExtensions.Zip(Path zipPaths, Func`2 zipPathToContent)
   at Vandelay.Industries.Services.LocalizationManagementService.ExtractDefaultT
ranslation(String sitePath, IEnumerable`1 extensionNames)
   at Vandelay.Industries.Commands.LocalizationManagementCommands.ExtractDefault
Translation()
Has anyone had this issue before? why is it throwing that error?
thx!
Coordinator
Jul 19, 2013 at 9:30 PM
Orchard changed the zip library that it uses, and this module has not yet been updated to use the new one.
Jul 19, 2013 at 9:43 PM
Edited Jul 19, 2013 at 9:43 PM
Can you please point me to a new one? or an easy going way to generate the po file? some link?
Coordinator
Jul 19, 2013 at 9:46 PM
No, the module needs to be updated.
Aug 21, 2013 at 12:17 PM
Just add a assembly binding redirect to the web.config...
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="ICSharpCode.SharpZipLib" culture="neutral" publicKeyToken="1b03e6acf1164f73" />
        <bindingRedirect oldVersion="0.0.0.0-0.85.5.452" newVersion="0.86.0.518" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>