Jump to content

How to disable number of products or correct grammar in Polish


Recommended Posts

Hello,

At the top of the list of products in a given category, there is a small stripe with the number of products in this category, e.g. in English "There are X products".

 

My problem is that in Polish language the strange grammar of this sentence is incorrect, so I have 2 solutions:

 

1. Simple: to disable the displaying of this information completely, but I can't find where it can be done.

 

2. More ambitious: to correct the grammar, which can be difficult as in Polish three forms are needed and not two like in other languages:

 

a. Jest 1 produkt  (in case of 1)
b. Są X produkty  (in case X = 2,3,4,22,23,24,32,33,34… and all other with 2,3 or 4 at the end with the exception of 12,13,14 and all other numbers with 12,13,14 at the end).
c. Jest X produktów (in all other plural cases)

 

I'd appreciate any help where can I make at least a simple solution (disable displaying this info at all) or a more sophisticated one (to correct grammar in case of different plural numbers).

 

Chris

 

PS. I use PrestaShop 1.5.6.2

Edited by nahlik (see edit history)
Link to comment
Share on other sites

Hello again

 

Have you had a look at:

Back office 》 localization 》 Translations 》 Front office translations 》 Category-count

 

If you have not solved this from another forum member soon then I will give you a solution in a couple of hours when I get home.

 

Paul

  • Like 1
Link to comment
Share on other sites

Hello again

 

As I said before go to:

 

Back office 》 localization 》 Translations 》 Front office translations 》scroll down to >  Category-count

 

http://screencast.com/t/M6lQl0cMPao

 

http://screencast.com/t/rhb0KhKJP3B

 

Sorry for the bad Polish translation, I had to use Google

 

Hope this helps

 

Paul

 

PS, I am sure Vekia will have a better solution

Link to comment
Share on other sites

Thanks Paul,

 

 

Following your first suggestion I've just changed the sentence to :"Number of products: X" in Polish, where there is no grammatical problem with different numbers.

 

 

And I've finally found myself where to do it:

 

in /themes/my_theme/lang/pl.php.

 

 

Thanks for a good idea

 

Link to comment
Share on other sites

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...