The translation works perfectly on first load, but when I change the values for either top or skip the calculation fails, instead the numbers get concatenated like strings. See screenshot:
Am I missing something? Is there a possibility to interpolate as a number, like %(start)n instead of
%(start)s?
The problem was simple: I've used an input to change the values. The input returns a string value. So instead of adding numbers I was always adding strings. Problem solved. Sorry for the troubles :)
Finally in the correct repo. Here is my issue. I have the following setup for a table footer with pagination info:
Translations:
I use the component like this:
The translation works perfectly on first load, but when I change the values for either
top
orskip
the calculation fails, instead the numbers get concatenated like strings. See screenshot:Am I missing something? Is there a possibility to interpolate as a number, like
%(start)n
instead of%(start)s
?