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
In some components, we'll need to be able to insert a dynamic string or value inside a translated string, e.g: "You have [x] characters remaining". We need to give users a way to pass us a string and indicate where the value should go, e.g: You have %{count} character remaining
Expand the existing internationalisation logic to handle this kind of string interpolation.
Why
We cannot hardcode where in the string that value will sit, because it will be different for different languages.
Who needs to work on this
Developers
Who needs to review this
Developers
Done when
Internationalisation logic has been expanded to handle string interpolation
Unit tests added for new string interpolation logic
The text was updated successfully, but these errors were encountered:
vanitabarrett
changed the title
Expand internationalisation MVP to add string interpolation feature
Expand internationalisation logic to add string interpolation feature
Aug 22, 2022
What
In some components, we'll need to be able to insert a dynamic string or value inside a translated string, e.g: "You have [x] characters remaining". We need to give users a way to pass us a string and indicate where the value should go, e.g:
You have %{count} character remaining
Expand the existing internationalisation logic to handle this kind of string interpolation.
Why
We cannot hardcode where in the string that value will sit, because it will be different for different languages.
Who needs to work on this
Developers
Who needs to review this
Developers
Done when
The text was updated successfully, but these errors were encountered: