In the FilePond we should localize text with the use of attributes.
For example labelMaxFileSize="Maximum file size is {filesize}".
In the project we are using js-lingui.
So actual translation would look like this:
labelMaxFileSize: i18n._(t`Maximum file size is {filesize}`),
Problem: both FilePond and lingui use {} chars to mark variables. And this causing problem.
How it may be fixed?