You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you do npm run counter-uk you'll get the string with the placeholders and no replacement.
✔ uk.po updated
починаємо рахунок до 3
something again ${ i }
something
something again ${ i }
something again ${ i }
This happens because the t function iterates over the msgid to find replacements when translating, and if it has none then it doesn't do any replacement on the plural string.
The text was updated successfully, but these errors were encountered:
Strings are not being translated if the
msgid
tagged string doesn't have any expression in it.I've set up a minimum working example here: https://github.com/alvare/ttag-bug-mwe
If you do
npm run counter-uk
you'll get the string with the placeholders and no replacement.This happens because the
t
function iterates over themsgid
to find replacements when translating, and if it has none then it doesn't do any replacement on the plural string.The text was updated successfully, but these errors were encountered: