Prestashop: Missing translation in french for template compilation

Created on 22 Jan 2020  路  7Comments  路  Source: PrestaShop/PrestaShop

Describe the bug
It missing some translations in French.

To Reproduce

Steps to reproduce the behavior:

  1. Install last Prestashop (1.7.6.3) in french
  2. Go to "International" > "Traductions" and update french language
  3. Clear cache
  4. Go to "Param猫tres avanc茅s" > "Performances" and see "Compilation des templates" values not translated.

Symfony profiler says missing this translations (screenshot below).

So I checked on Crowdin and the right translation exists in file Admin > Advparameters >Feature.xlf.

So I checked app/Resources/translations/fr-FR/AdminAdvparametersFeature.fr-FR.xlf file and the translation isn't here. Why ?

Screenshots

Missing-translation-FR

Symfony-profiler

Crowdin

Additional information
PrestaShop version: 1.7.6.3
PHP version: 7.2

1.7.5.2 1.7.6.2 1.7.6.3 BO Bug Fixed Minor Performance Translations

Most helpful comment

Alright so if I understood clearly, it should be fixed in 177 ?

All 7 comments

Hi @Klemart3D,

Thanks for your report.
I manage to reproduce the issue with PS1.7.6.3 & PS1.7.6.2 & PS1.7.5.2.
image
I鈥檒l add this to the debug roadmap so that it鈥檚 fixed.
Ping @LouiseBonnard, it could be fixed in the Crowdin?

Thanks!

Hi @khouloudbelguith, @Klemart3D, I've just checked and it looks like the string disappeared from the translation catalog after version 1.7.2. It is only included in the 1.7.2 catalog, cf. the following screenshot, while it should also appear in all later translation branches. It is a bug, ping @PrestaShop/prestashop-core-developers.

Capture d鈥檈虂cran 2020-01-22 a虁 17 56 53

Visibly the wording wasn't detected by TranslationToolsBundle when the catalogue was last extracted. It should be fixed by this commit (which has been cherry-picked in 1.7.7x): https://github.com/PrestaShop/PrestaShop/commit/93dc224abd69b0e7310d7d5c78bba60cf3b22cc6

For more info: https://devdocs.prestashop.com/1.7/development/internationalization/translation/translation-tips/#form-choicetypes

The wording should make its way to the catalogue once its extracted for 1.7.7.0.

edit: nothing to add :)

Alright so if I understood clearly, it should be fixed in 177 ?

@colinegin yes

Wordings have been extracted successfully

Fixed by #17763 (see https://github.com/PrestaShop/PrestaShop/pull/17763/files#diff-6b8ed13d2d0db06f5c207633065e8f48R1178)

Was this page helpful?
0 / 5 - 0 ratings