Jump to content
thirty bees forum
  • 0

Cannot decompress the translation file


Question

Posted

So i found that at least one language can not be installed directly via back office due to decompress error. After that I Have tested many other languages and there is not problem with the TB but it has to be with the language file.

I tried to install Slovenian (Slovene) language and it gives me that error.

Main language in shop is English as I don't sell anything in my country, but have to have the Slovenian language as option to comply with my local laws.

12 answers to this question

Recommended Posts

  • 0
Posted

Thirty bees 1.0.4 Freshly installed from zip which was downloaded about 2 hours ago directly from thirtybees.com Logged into admin area. Clicking Localization/Translations Under Add/Update Language - Slovenščina (Slovene) is selected. Clicked onto the button with gears which says "Add or update a language" After that, in the top section it says " Cannot decompress the translation file for the following language: si "

Thank you.

  • 0
Posted

Could the reason for error be that TB is using sl for iso code instead of si. As fresh install with installation set to slovene works fine, but language gets sl iso code. And I don't want to install with slovenian language and than added english, as I do want that english has the first ID :)

  • 0
Posted

So, i resolved the issue i had with installing the Slovenian language. It went all well within "Localization/Localization/Import Localization pack.

Now I have translated all email templates together with lang.php file. After exporting the language I can not import it on another instance of THBEES as I get following error:

Validation failed for: mails/sl/lang.php

Have tripple checked the file, but I still got no idea what to do?

  • 0
Posted

You may just copy/paste the folders with Slovenian language from one instance to the other. I know it would be easier to import just one file, but if there isn't other way, it's still an option.

  • 0
Posted

It's my local language, but I need it only because of the damn LAW, as I don't sell anything in my country as market is not interested :)

  • 0
Posted

Will see if Lesley or someone else is willing to add the updated language files to their repository. So they become installable from backoffice.

As I have same error if I install official (not complete) language pack, and export it without any changes to it. I can not import it on another instance

  • 0
Posted

@toplakd what php version do you have? As of PHP 5.4 $_LANGMAIL = []; should be perfectly valid expression, so it seems you have older version. Note that Thirtybees will not run correctly on PHP 5.3 or lower

  • 0
Posted

Ahh, I see where the problem is - this has nothing to do with php version, there's hardcoded check in /controllers/admin/AdminTranslationsController.php, line ~988

  • 0
Posted

The first post in this topic is related to bug when exporting or importing translassions which have empty translation strings. Could this be fixed? As same bug is in PS 1.6.1.18

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...