Installer com_virtuemart.2.0.8e_languages_extract_first.zip for languages broken

Started by Ola Andersson, July 27, 2012, 18:24:15 PM

Previous topic - Next topic

Ola Andersson

The installer for swedish inside this file: com_virtuemart.2.0.8e_languages_extract_first.zip found here

http://dev.virtuemart.net/projects/virtuemart/files

is broken.

The installer just uploads

admin_sv-SE.zip
site_sv-SE.zip

to the site root.

The language files is not unpacked and uploaded to their respective locations.

This is the contents of com_virtuemart_sv-SE.xml

<?xml version="1.0" encoding="utf-8"?>
<extension type="file" version="2.5" method="upgrade">

    <name>com_virtuemart_sv-SE</name>
    <author>The VirtueMart Development and Translation Team</author>
    <creationDate>July 16 2012</creationDate>
    <copyright>Copyright (C) 2004-2012 Virtuemart Team. All rights reserved.</copyright>
    <license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
    <authorEmail>max|at|virtuemart.net</authorEmail>
    <authorUrl>http://www.virtuemart.net</authorUrl>
    <version>2.0.8e</version>
    <description>This sv-SE language pack for VirtueMart has been installed successfully. It includes files for the component, modules,
        and plugins. Some languages may not have all the files.</description>

    <!-- Fileset definition -->
    <fileset>
        <files>
            <file type="language" client="site" id="sv-SE">site_sv-SE.zip</file>
            <file type="language" client="administrator" id="sv-SE">admin_sv-SE.zip</file>
        </files>
    </fileset>
</extension>


I'm no expert in this, but it looks like stuff is missing? To put all the .ini files in there respective locations? The other respective languages seem to look about the same.

Also, if one unpacks the zip files: admin_sv-SE.zip, site_sv-SE.zip there are no xml-files inside. (If there even should be, I don't know).

This is a bug?

Ola Andersson

I went back a couple of versions to 2.0.7i.

The file com_virtuemart_sv-SE.xml inside sv-SE.zip inside com_virtuemart.2.0.7.i_languages_extract_first.zip looks like this. In it there are a lot more lines with paths:

<?xml version="1.0" encoding="utf-8"?>
<extension type="file" version="2.5" method="upgrade">

    <name>com_virtuemart_sv-SE</name>
    <author>The VirtueMart Development and Translation Team</author>
    <creationDate>June 16 2012</creationDate>
    <copyright>Copyright (C) 2004-2012 Virtuemart Team. All rights reserved.</copyright>
    <license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
    <authorEmail>max|at|virtuemart.net</authorEmail>
    <authorUrl>http://www.virtuemart.net</authorUrl>
    <version>2.0.7.f</version>
    <description>This sv-SE language pack for VirtueMart has been installed successfully</description>

    <!-- Fileset definition -->
    <fileset>

        <!-- back-end -->
        <files folder="admin/sv-SE" target="administrator/language/sv-SE">
            <filename>sv-SE.com_virtuemart.ini</filename>
            <filename>sv-SE.com_virtuemart.sys.ini</filename>
            <filename>sv-SE.com_virtuemart.menu.ini</filename>
            <filename>sv-SE.com_virtuemart.ini</filename>
            <filename>sv-SE.com_virtuemart.menu.ini</filename>
            <filename>sv-SE.com_virtuemart.sys.ini</filename>
            <filename>sv-SE.plg_vmcustom_specification.ini</filename>
            <filename>sv-SE.plg_vmcustom_specification.sys.ini</filename>
            <filename>sv-SE.plg_vmcustom_stockable.ini</filename>
            <filename>sv-SE.plg_vmcustom_stockable.sys.ini</filename>
            <filename>sv-SE.plg_vmcustom_textinput.ini</filename>
            <filename>sv-SE.plg_vmcustom_textinput.sys.ini</filename>
            <filename>sv-SE.plg_vmpayment_authorizenet.ini</filename>
            <filename>sv-SE.plg_vmpayment_authorizenet.sys.ini</filename>
            <filename>sv-SE.plg_vmpayment_klarna.ini</filename>
            <filename>sv-SE.plg_vmpayment_klarna.sys.ini</filename>
            <filename>sv-SE.plg_vmpayment_paypal.ini</filename>
            <filename>sv-SE.plg_vmpayment_paypal.sys.ini</filename>
            <filename>sv-SE.plg_vmpayment_payzen.ini</filename>
            <filename>sv-SE.plg_vmpayment_payzen.sys.ini</filename>
            <filename>sv-SE.plg_vmpayment_standard.ini</filename>
            <filename>sv-SE.plg_vmpayment_standard.sys.ini</filename>
            <filename>sv-SE.plg_vmpayment_systempay.ini</filename>
            <filename>sv-SE.plg_vmpayment_systempay.sys.ini</filename>
            <filename>sv-SE.plg_vmshipment_weight_countries.ini</filename>
            <filename>sv-SE.plg_vmshipment_weight_countries.sys.ini</filename>
        </files>

        <!-- front-end -->
        <files folder="site/sv-SE" target="language/sv-SE">
            <filename>sv-SE.com_virtuemart.ini</filename>
            <filename>sv-SE.com_virtuemart.sef.ini</filename>
            <filename>sv-SE.com_virtuemart.sys.ini</filename>
            <filename>sv-SE.mod_virtuemart_cart.ini</filename>
            <filename>sv-SE.mod_virtuemart_cart.sys.ini</filename>
            <filename>sv-SE.mod_virtuemart_category.ini</filename>
            <filename>sv-SE.mod_virtuemart_category.sys.ini</filename>
            <filename>sv-SE.mod_virtuemart_currencies.ini</filename>
            <filename>sv-SE.mod_virtuemart_currencies.sys.ini</filename>
            <filename>sv-SE.mod_virtuemart_manufacturer.ini</filename>
            <filename>sv-SE.mod_virtuemart_manufacturer.sys.ini</filename>
            <filename>sv-SE.mod_virtuemart_product.ini</filename>
            <filename>sv-SE.mod_virtuemart_product.sys.ini</filename>
            <filename>sv-SE.mod_virtuemart_search.ini</filename>
            <filename>sv-SE.mod_virtuemart_search.sys.ini</filename>
        </files>
    </fileset>
</extension>


Also, the folders admin and site inside are not compressed.

So the installer for other languages seems to have been broken a few versions?