symfony-bundle icon indicating copy to clipboard operation
symfony-bundle copied to clipboard

Add support for IntlMessageFormatter

Open welcoMattic opened this issue 5 years ago • 4 comments

In anticipation of Symfony 4.2 release, we should work on support of the new IntlMessageFormatter

See https://symfony.com/blog/new-in-symfony-4-2-intlmessageformatter

I'm looking for all changes involved by this new Formatter

welcoMattic avatar Nov 20 '18 20:11 welcoMattic

What is needed from the bundle's side to support this?

Nyholm avatar Jan 06 '20 18:01 Nyholm

I totally forgot that I opened this issue over a year ago. I'm sorry. I'll get back to it and figure out what we need to do to support IntlMessageFormatter as soon as I can.

welcoMattic avatar Jan 06 '20 22:01 welcoMattic

I'm already using this format in my app & everything looks fine, even if I didn't try to use a translation as complicated as the one given in the example.

odolbeau avatar Jan 07 '20 07:01 odolbeau

As I see, and test in a real life application, there's nothing to do to support this format but improve Profiler message editor (which is a dead simple textarea). May be we should look around https://format-message.github.io/icu-message-format-for-translators/editor.html?

welcoMattic avatar Jan 20 '20 21:01 welcoMattic

Should be fixed in #452

bocharsky-bw avatar Jan 23 '23 10:01 bocharsky-bw