mamatocw Posted November 13, 2014 Share Posted November 13, 2014 (edited) I have a big problem in PS 1.6.0.9. When, in the category page, you use a filter, the products count don’t work properly. For example the words "1 of 7 of 7 items" become "117171"! But if I analyze the source code of the page in the browser I find that the words "1 of 7 of 7 items" is correct. The problem occurs with both Firefox and Chrome.Can anyone help me? Thanks Edited November 14, 2014 by mamatocw (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted November 14, 2014 Share Posted November 14, 2014 Can you check if the translations in your language is correctly done? Go to Localization->Translations Chose Front office translations, your theme, your language choose Modify Button, Click 'Close all fieldsets' and click again on the same button (text changed to 'expand all fieldsets') find the block 'pagination' and check carefully if the translation in your language has correctly added %1$d, %2$d (and one time %3$d) Hope this helps. Let me know. If not, please add the URL to your site, pascal. 1 Link to comment Share on other sites More sharing options...
mamatocw Posted November 14, 2014 Author Share Posted November 14, 2014 Thanks Pascal. This problem is a little annoying. If I translate "Showing %1$d - %2$d of %3$d items" with "%1$d - %2$d to %3$d items" the problem remains, but if I translate as "From %1$d to %2$d of %3$d items" the problem disappears. Apparently, according to PS, the sentence can not start with a numeric variable ... Link to comment Share on other sites More sharing options...
PascalVG Posted November 15, 2014 Share Posted November 15, 2014 Hmm, interesting. Seems to be correct for a second, and then be destroyed by some javascript or so. For now, maybe use [ %1$d - %2$d of %3$d items ] or ( %1$d - %2$d of %3$d items ) or so, if you don't want the From. Link to comment Share on other sites More sharing options...
mamatocw Posted November 17, 2014 Author Share Posted November 17, 2014 Yes, that's right. Thankfully it's not a big problem. Thanks Pascal. Link to comment Share on other sites More sharing options...
Petr Smetala Posted November 27, 2014 Share Posted November 27, 2014 (edited) Hmm, interesting. Seems to be correct for a second, and then be destroyed by some javascript or so. For now, maybe use [ %1$d - %2$d of %3$d items ] or ( %1$d - %2$d of %3$d items ) or so, if you don't want the From. Hello everyone, I'm experiencing the same problem with 1.6.0.9 version. But I use the translated text "Zobrazují se %1$d - %2$d z %3$d položek ". It shows : Zobrazují 1 1 75 75 334 334 položek Even if I make the text "Zobrazuji se .... polozek" (without the special signs of Czech language), I still have the same problem (after 1 second it shows again the Zobrazují 1 1 75 75 334 334 položek) If I add the brackets (so the translated field contains : "[ Zobrazují se %1$d - %2$d z %3$d položek ]"), then I get different weird result on the first page: [ 1 se 75 - 334 z 334 položek ] Any idea what to do with it ?? Thank you Edited November 27, 2014 by Petr Smetala (see edit history) Link to comment Share on other sites More sharing options...
Petr Smetala Posted November 27, 2014 Share Posted November 27, 2014 Hello everyone, I'm experiencing the same problem with 1.6.0.9 version. But I use the translated text "Zobrazují se %1$d - %2$d z %3$d položek ". It shows : Zobrazují 1 1 75 75 334 334 položek Even if I make the text "Zobrazuji se .... polozek" (without the special signs of Czech language), I still have the same problem (after 1 second it shows again the Zobrazují 1 1 75 75 334 334 položek) If I add the brackets (so the translated field contains : "[ Zobrazují se %1$d - %2$d z %3$d položek ]"), then I get different weird result on the first page: [ 1 se 75 - 334 z 334 položek ] Any idea what to do with it ?? Thank you SOLUTION There MUST BE ONLY ONE WORD before the %1$d !!! If I write "Zobrazuji %1$d ..." it works. If I put there "Zobrazuje se %1$d ..." it shows the over-numbered nonsense :-) I don't understand why it acts this way. Hope this helps someone. PS: The one who wrote this specific code should check that ;-) It's really weird that the number of words changes the result ... 1 Link to comment Share on other sites More sharing options...
ps3z Posted June 10, 2015 Share Posted June 10, 2015 yes its a bug.why nobody didnt solve this yet Link to comment Share on other sites More sharing options...
ps3z Posted June 10, 2015 Share Posted June 10, 2015 problem is happening if we change the sorting between of "Showing %1$d - %2$d of %3$d items" Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now