Low-stock widget be dynamic for languages for each quantity

I would like to adjust the Alert Description text for the low stock widget. Currently, the text is dynamic and uses {{remaining_quantity}}, but the word after the quantity stays the same. In Slovenian, this does not work correctly because the noun changes depending on the remaining quantity. For example, the current text is: “Na zalogi le še {{remaining_quantity}} artiklov!” This is correct for some quantities, but not for all. If only 1 item is left, it should not say: “Na zalogi le še 1 artiklov!” It should say: “Na zalogi le še 1 artikel!” The text should ideally change based on the remaining quantity like this: * 1 = Na zalogi le še 1 artikel! * 2 = Na zalogi le še 2 artikla! * 3 = Na zalogi le še 3 artikli! * 4 = Na zalogi le še 4 artikli! * 5+ = Na zalogi le še 5 artiklov! So the word after the dynamic quantity should also be dynamic, depending on the remaining_quantity value.

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

Notify Me! Feature Requests

Date

2 months ago

Author

Vasja Humar

Subscribe to post

Get notified by email when there are changes.