Fork me on GitHub

Problems with gettext-extractor  Bottom

  • Hi,

    I tried to use the tool at http://community.zik…Gettext-extract.htm but when uploading a *.tgz or *.zip file I get the following error:

    Quote

    Please specify zip/tgz file!


    Am I doing something wrong or is something broken?

    Greetings/Thanks
    Robert
  • Make sure you create the file exactly as per the video. In windows right click the module folder and create the zip from that.

    Drak

    --
    Zikula Lead Developer
    Board Member of the Zikula Foundation
    Follow me on twitter.com/zikuladrak
  • Quote

    In windows

    You must be kidding ... icon_smile

    I tried the following:

    tar -cvzf myMod.tgz ./myMod
    and
    zip -r myMod.zip ./myMod

    Greetings
    R
  • In Linux right click and create the zip of the folder icon_razz
    weird issue

    But if you have console you should prefer to use the xtractcomponent.sh directly ^_^ the Gettext module is in the SVN/Misc and the scripts in the /helpers subfolder.

    --
    - Mateo T. -
    Mis principios... son mis fines
  • There is an issue with tar doing compression at the same time - creates a non-fatal error but the script catches it.

    Most probably will be ok if you do this:

    tar cp folder > folder.tar
    gzip folder.tar

    With regards to the zip, you cannot zip ./ the zip must contain exactly the folder... without ./

    Anyway... use a GUI and you'll be fine ;)
    I much prefer the command-line extractor. Just apt-install gettext and use the command helper in Gettext module.

    Drak

    --
    Zikula Lead Developer
    Board Member of the Zikula Foundation
    Follow me on twitter.com/zikuladrak
  • Just to add my personal way of doing it, which never failed on any Linux system:

    Code

    tar -cf - some_directory_or_file | gzip -c9 > tarball.tar.gz

    Greetings,
    Chris

    --
    an operating system must operate
    development is life
    my repo

This list is based on users active over the last 60 minutes.