This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
zend-i18n 2.10.0
weierophinney
released this
18 Nov 20:32
·
18 commits
to master
since this release
Added
- #102 adds
Zend\I18n\View\HelperTrait
, which provides annotations describing the various helpers zend-i18n provides to a zend-view renderer. The trait can be used in combination withZend\View\Renderer\PhpRenderer
in annotations on the$this
variable within view scripts to provide IDE autocompletion for helper-provided methods.
Changed
-
#110 modifies how
translatePlural()
works when a msgid is present, but no translations are present. It now properly returns the source-code if unable to translate the message, instead of returning an empty string (which is the behavior undertranslate()
as well). -
#126 modifies the package definition to put an explicit requirement on ext-intl, as it is required for the majority of functionality. Users have indicated multiple times confusion about why the component does not work after installation, when attempting to use intl functionality; requiring the extension resolves that issue.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.