A pretty nice way to expose your Symfony translation messages to your client applications.
572
stars
178
forks
source link
When domain is not defined, get_message find translations in intl-icu format but don't format it correctly #315
Open
spras opened 3 years ago
Given the following translations file:
# translations/messages+intl-icu.en.yaml hello_name: Hello {name}!
When domain is not defined, get_message find the translation in intl-icu format, but it don't format it correctly.
Translator.trans('hello_name', { name: 'John' })
give
Hello {name}!
it should give
Hello John!