Releases: webfactory/WebfactoryIcuTranslationBundle
Releases · webfactory/WebfactoryIcuTranslationBundle
Adds a return type hint (#32)
Allow usage with Symfony 5.x components
On the other hand, requirements have been raised to Symfony 4.4 and PHP 7.4 (#31).
Resolve a deprecation notice
... by not using a deprecated service name (#30).
Drop deprecated `\Symfony\Component\Translation\TranslatorInterface`
This release removes support for the deprecated interfaces as per #28.
Implement interfaces from `symfony/translation-contracts`
This is to ease addressing Symfony ^4.2 deprecation notices and to eventually migrate to Symfony 5.
Adds the `icu_format` filter
Add `icu_format` Twig filter (#27)
This adds a new `icu_format` Twig filter that can be used to apply ICU-based formatting to given messages.
Examples:
* `{{ '{name} will arrive shortly.' | icu_format({name: 'Peter'}) }}`
* `{{ '{gender, select, male {{name} invited you to his party!} female {{name} invited you to her party!}}' | icu_format({ gender: 'female', name: 'Jane' }) }}`
This closes #24.
Add .gitattributes
Merge pull request #18 from thePanz/patch-1 Add .gitattributes