Prestashop: PS 1.7.4 - does not work translation in Showing %from%-%to% of %total% item(s)

Created on 3 Oct 2018  路  2Comments  路  Source: PrestaShop/PrestaShop

In admin in Translations in: Shop-Theme-Catalog is not possible translate "Showing %from%-%to% of %total% item(s)" - If I change it in my language default translation {czech language} and save it, always stay original translation from default instalation.

1.7.4.3 1.7.6.0 Bug International Minor To Do Translations

Most helpful comment

Hi @JirkaDeLucina,

Thanks for your report, I manage to reproduce the issue with the last version: PS 1.7.4.3.
Steps to reproduce

  1. Install Prestashop 1.7.4.3 / 1.7.4.2 with English language / French country
  2. Import the Czech pack
  3. In the Translation theme page ( Czech translation) => search for "Showing %from%-%to% of %total% item(s)" => edit this expression => save => The green alert is not displayed after editing the translation.
  4. Check the translation in the FO => This translation is saved but doesn't do anything.
  5. Check the translation in the BO => always stay original translation from the default installation.
    We will see how to fix it.

PS: if I change this translation in the French language => the translation is saved successfully in the FO / BO.
https://drive.google.com/file/d/1L2U1oJH9uJ-Sr-OD8BIHFQ2UK8Jip_21/view
Thanks!

All 2 comments

Hi @JirkaDeLucina,

Thanks for your report, I manage to reproduce the issue with the last version: PS 1.7.4.3.
Steps to reproduce

  1. Install Prestashop 1.7.4.3 / 1.7.4.2 with English language / French country
  2. Import the Czech pack
  3. In the Translation theme page ( Czech translation) => search for "Showing %from%-%to% of %total% item(s)" => edit this expression => save => The green alert is not displayed after editing the translation.
  4. Check the translation in the FO => This translation is saved but doesn't do anything.
  5. Check the translation in the BO => always stay original translation from the default installation.
    We will see how to fix it.

PS: if I change this translation in the French language => the translation is saved successfully in the FO / BO.
https://drive.google.com/file/d/1L2U1oJH9uJ-Sr-OD8BIHFQ2UK8Jip_21/view
Thanks!

Some additional information: changing only "showing" and "item(s)" does work, but trying to change "of" to a different language does not (changing "of" to "from" for example does work).
Changing it manually in the DB ('ps_translation') does nothing on front-office, but changes the value in the translations system (which still cannot be saved to show on front-office).

Here's the weirdest part:
I managed to kinda go around this issue by leaving a single o in the middle between "%to%" and "%total%" and writing whatever I wanted after. "o" is the only letter that worked for me (although I admit I haven't tried all letters and characters).
image
image
It's not ideal but it's the best I managed to do.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wikao2 picture wikao2  路  3Comments

khouloudbelguith picture khouloudbelguith  路  3Comments

centoasa picture centoasa  路  3Comments

nrcjea001 picture nrcjea001  路  3Comments

sandra2n picture sandra2n  路  3Comments