Prestashop: Export language seems to be KO in 176

Created on 26 Nov 2019  路  13Comments  路  Source: PrestaShop/PrestaShop

Describe the bug
In PS 1761 and 1762 build 2, the export of language seems to be KO, the zip file created does not contains any translations.

To Reproduce
Steps to reproduce the behavior:

  1. Go to International > Translations > Export a language
  2. Export a language
  3. ZIP file is created, with only one xlf file in it (without any translation in it). In 1.7.5.2, there is around 10 files (with translations).
    See ZIP files.

Files

classic.ru-RU 175.zip

classic.ru-RU 1762.zip

Additional information
PrestaShop version: 1.7.6.1 - 1.7.6.2 build 2
PHP version: N/A

1.7.6.1 1.7.6.2 BO Bug Minor Regression TBS Translations WIP

Most helpful comment

I have verified the problem.

All 13 comments

Hi @Robin-Fischer-PS,

I tried with PS1.7.6.1

  1. Exporting the language before the translation, I have this zip file
    classic.pl-PL.zip
  1. After translating some expression of the classic theme, I have this zip file:
    classic.pl-PL (1).zip

Same with PS1.7.6.0:

  1. Exporting the language before the translation,
    classic.en-US (1).zip
  2. Exporting the language after translating some expression of the classic theme
    classic.en-US (2).zip

With PS1.7.5.2, Exporting the language before the translation
classic.en-US.zip

Ping @PrestaShop/prestashop-core-developers what do you think, is it a new behavior or a regression?

Thanks!

Any news from this issue ? Is it a regression ?

@khouloudbelguith COuld you tell us if it's a regression from 1.7.5.2 :thinking:
If translations are missing, it's a bug no? :thinking:

Hi @PierreRambaud,

Yes, I tried with PS1.7.5.2=> we have a folder of files generated.
classic.en-US.zip
It is not the same behavior as PS1.7.6.2, we have only one file exported
classic.en-US (1).zip
If we change the translations of the theme => the file is well generated the next time.
So all files are generated after translating the theme (translations are missing: it is not the case).
So, we need to check if it is a wanted behavior in PS1.7.6 or a regression.

Thanks!

@khouloudbelguith I don't think, do you have any idea @matks ?

+1 @khouloudbelguith any new on this ?

@PrestaShop/prestashop-core-developers friendly reminder :)

@pierreavizou @matks did you look at this ?

I have verified the problem.

@colinegin @eternoendless why is this removed from the 1.7.6.5 milestone ?

@thbl Unfortunately this is too broken to be fixed in the 1.7.6.x branch. #18293 fixes the export but produces other regressions in the translation interface.

A full refactoring is in the making for 1.7.7.0. It will simplify the feature architecture, put into practice some design decisions that have been made by the product team (eg. "what should be included in the theme translations export"), and fix this problem. If you really need to export a theme, apply my PR, export, and rollback the changes.

This feature is being retro-specified before refactoring: https://github.com/PrestaShop/prestashop-specs/pull/120

We need to :

  • validate specs written by @eternoendless --> @LouiseBonnard
  • check #19242 issue which should fix this issue too
Was this page helpful?
0 / 5 - 0 ratings