Plurals with float number
5 years 1 month ago #3988
by smaika
Plurals with float number was created by smaika
Hi,
I might be doing something wrong or there must be a workaround.
Whenever a parameter is set to a float number the translation doesn't seem to work correctly.
Example:
I have a term set to,
Plural: [Length] Months
One: [Length] Month
Now, if the parameter Length is set to 5.3, for example, the translation on text is "5.3 Days[i2p_One]5.3 Day"
It does work as expected if it was an integer number but not if it's a float number!
Is there a workaround to that or am I doing something wrong?
Thanks,
I might be doing something wrong or there must be a workaround.
Whenever a parameter is set to a float number the translation doesn't seem to work correctly.
Example:
I have a term set to,
Plural: [Length] Months
One: [Length] Month
Now, if the parameter Length is set to 5.3, for example, the translation on text is "5.3 Days[i2p_One]5.3 Day"
It does work as expected if it was an integer number but not if it's a float number!
Is there a workaround to that or am I doing something wrong?
Thanks,
Please Log in or Create an account to join the conversation.
Time to create page: 0.107 seconds