zendframework/zend-i18n
Abandoned; use laminas/laminas-i18n. Provide translations for your application, and filter and validate internationalized values
2.10.1
18M downloads/mo
#3207 most downloaded on Packagist
zendframework/zend-i18n
What this package is like to depend on
Last release 7 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 1.4 years
Rarely documented
notes for 12 of 72 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
72 releases · first in 2012
0 releases in the last 12 months
see the full history below
Release timeline
39 releases · Oct 2012 to Dec 2019Releases
latest 60 of 72-
2.10.112 Dec 2019Release notes
Open source →Added
- #130 adds support for PHP 7.4.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #129 fixes Hungarian PhoneNumber validator (mobile numbers starting from 50).
Release notes
Open source →Added
- #130 adds support for PHP 7.4.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #129 fixes Hungarian PhoneNumber validator (mobile numbers starting from 50).
-
2.10.018 Nov 2019Release notes
Open source →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\PhpRendererin annotations on the$thisvariable 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.
Release notes
Open source →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\PhpRendererin annotations on the$thisvariable 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.
- #102 adds
-
2.9.230 Sep 2019Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #122 fixes PHP 7.4 compatibility.
Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #122 fixes PHP 7.4 compatibility.
-
2.9.126 Sep 2019Release notes
Open source →Added
- #106 adds support for PHP 7.3.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#114 fixes PHP 7.4 compatibility.
-
#116 fixes DateTime formatter when changing timezone within the same instance.
-
#100 fixes regular expression in Liechtenstein postcode validator.
-
#116 fixes PhoneNumber validator to match the whole value.
-
#103 fixes Brazilian PhoneNumber validator.
-
#117 fixes French PhoneNumber validator.
-
#119 fixes Kosovan PhoneNumber validator.
-
#120 fixes Luxembourgish PhoneNumber validator.
Release notes
Open source →Added
- #106 adds support for PHP 7.3.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#114 fixes PHP 7.4 compatibility.
-
#116 fixes DateTime formatter when changing timezone within the same instance.
-
#100 fixes regular expression in Liechtenstein postcode validator.
-
#116 fixes PhoneNumber validator to match the whole value.
-
#103 fixes Brazilian PhoneNumber validator.
-
#117 fixes French PhoneNumber validator.
-
#119 fixes Kosovan PhoneNumber validator.
-
#120 fixes Luxembourgish PhoneNumber validator.
-
2.9.016 May 2018Release notes
Open source →Added
- #93 adds two methods to
Translator,getCacheId(string $textDomain, string $locale),
andclearCache(string $textDomain, string $locale).
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #96 ensures that the
TranslatorServiceFactoryinjects the configuredTranslatorPluginManager,
if any, before returning it. This ensures that configured remote loaders can be utilized.
Release notes
Open source →Added
- #93 adds two methods to
Translator,getCacheId(string $textDomain, string $locale), andclearCache(string $textDomain, string $locale).
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #96 ensures that the
TranslatorServiceFactoryinjects the configuredTranslatorPluginManager, if any, before returning it. This ensures that configured remote loaders can be utilized.
- #93 adds two methods to
-
2.8.025 Apr 2018Release notes
Open source →Added
-
#71 adds a new option to the
IsIntvalidator,strict. When set to boolean
true, comparisons will use strict type validations. The default,false, retains the current
behavior of non-strict comparisons. The class also exposes asetStrict($flag)method for
enabling/disabling the behavior.
Changed
-
#81 updates the list of allowed mobile prefixes for Chinese phones to match
current changes to their systems. -
#80 updates the PostCode validator to allow prefixing Latvian postal
codes using the stringLV-, which is now mandatory within Latvia. For BC purposes, the
prefix is considered optional.
Deprecated
- Nothing.
Removed
- #78 removes support for HHVM.
Fixed
- #75 fixes an issue with formatting currency values where
the currency indicator is at the end of the value.
Release notes
Open source →Added
-
#71 adds a new option to the
IsIntvalidator,strict. When set to boolean true, comparisons will use strict type validations. The default,false, retains the current behavior of non-strict comparisons. The class also exposes asetStrict($flag)method for enabling/disabling the behavior.
Changed
-
#81 updates the list of allowed mobile prefixes for Chinese phones to match current changes to their systems.
-
#80 updates the PostCode validator to allow prefixing Latvian postal codes using the string
LV-, which is now mandatory within Latvia. For BC purposes, the prefix is considered optional.
Deprecated
- Nothing.
Removed
- #78 removes support for HHVM.
Fixed
- #75 fixes an issue with formatting currency values where the currency indicator is at the end of the value.
-
-
2.7.417 May 2017Release notes
Open source →Added
- Nothing.
Changes
- #65 updates the
PostCodevalidation for Ireland to support Eircode (https://www.eircode.ie/what-is-eircode)
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #74 fixes how the
LoaderPluginManagerFactoryfactory initializes the plugin manager instance, ensuring it is injecting the relevant configuration from theconfigservice and thus seeding it with configured translator loader services. This means that thetranslator_pluginsconfiguration will now be honored in non-zend-mvc contexts. - #56 adds more aliases to the
LoaderPluginManagerto ensure different cAsIng strategies will still resolve translation loaders under zend-servicemanager v3. - #62 fixes an issue with how the gettext adapter resolves
PoEditsource keywords when a text_domain is defined. - #73 provides a workaround within the
CurrencyFormatview helper for an ICU bug (http://bugs.icu-project.org/trac/ticket/10997).
Release notes
Open source →Added
- Nothing.
Changes
- #65 updates the
PostCodevalidation for Ireland to support Eircode (https://www.eircode.ie/what-is-eircode)
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #74 fixes how the
LoaderPluginManagerFactoryfactory initializes the plugin manager instance, ensuring it is injecting the relevant configuration from theconfigservice and thus seeding it with configured translator loader services. This means that thetranslator_pluginsconfiguration will now be honored in non-zend-mvc contexts. - #56 adds more aliases to
the
LoaderPluginManagerto ensure different cAsIng strategies will still resolve translation loaders under zend-servicemanager v3. - #62 fixes an issue with
how the gettext adapter resolves
PoEditsource keywords when a text_domain is defined. - #73 provides a
workaround within the
CurrencyFormatview helper for an ICU bug (http://bugs.icu-project.org/trac/ticket/10997).
-
2.7.307 Jun 2016Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #42 fixes the
behavior of the
PhoneNumbervalidator to store the country using the casing provided, but validate based on the uppercased country value. This ensures the same validation behavior, and prevents the value from being transformed, potentially breaking later retrieval. - #47 provides a
performance improvement to the
Zend\I18n\View\HelperConfigimplementation when operating under zend-servicemanager v3.
-
2.7.218 Apr 2016Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #45 fixes the
Module::init()method to properly receive aModuleManagerinstance, and not expect aModuleEvent.
-
2.7.130 Mar 2016Release notes
Open source →Added
- #41 adds
Zend\I18n\Module::init(), which registers a specification for the translator loader plugin manager withZend\ModuleManager\Listener\ServiceListener.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
- #41 adds
-
2.7.030 Mar 2016Release notes
Open source →Added
- #40 adds:
Zend\I18n\Translator\LoaderPluginManagerFactory, which provides a factory for container-interop-compatible containers (including zend-servicemanager) for creating and returning aLoaderPluginManagerinstance.Zend\I18n\ConfigProvider(which provides an invokable configuration provider class; this could be used with zend-expressive) andZend\I18n\Module(which provides a zend-mvc/zend-modulemanager module providing service configuration for ZF applications); these provide configuration for zend-i18n services, including filters, validators, and view helpers.
Deprecated
- #40 deprecates
Zend\I18n\View\HelperConfig, as the functionality is made obsolete by the newModuleclass. The class will be removed with the 3.0 release.
Removed
- Nothing.
Fixed
- #35 updates the dependencies for zend-validator and zend-cache to use versions that are forwards-compatible with zend-servicemanager v3, and re-enables their tests during continuous integration.
- #40 adds:
-
2.6.010 Feb 2016Release notes
Open source →Added
- #8 adds support for Vietnamese postal codes.
- #18 adds support for
NumberFormattertext attributes to theNumberFormatview helper. - #28, #29, #30, #31, and #34 prepared the documentation for publication at https://zendframework.github.io/zend-i18n/
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #12, #21, and #22 update the component to be forwards compatible with the v3 versions of zend-stdlib, zend-servicemanager, and zend-eventmanager.
- #8 updates the regex for the Mauritius postal code to follow the currently adopted format.
- #13 updates the regex for Serbian postal codes to only accept 5 digits.
- #19 fixes the behavior of the DateTime validator to ensure it can be called multiple times with multiple values.
- #33 adds a check for
null messages in
Translator::getTranslatedMessage()to prevent illegal offset warnings.
-
2.5.103 Jun 2015Nothing published for this version
-
2.5.003 Jun 2015Nothing published for this version
-
2.4.1307 May 2015Nothing published for this version
-
2.4.12no dateNothing published for this version
-
2.4.11no dateNothing published for this version
-
2.4.10no dateNothing published for this version
-
2.4.9no dateNothing published for this version
-
2.4.8no dateNothing published for this version
-
2.4.7no dateNothing published for this version
-
2.4.6no dateNothing published for this version
-
2.4.5no dateNothing published for this version
-
2.4.4no dateNothing published for this version
-
2.4.3no dateNothing published for this version
-
2.4.2no dateNothing published for this version
-
2.4.1no dateNothing published for this version
-
2.4.025 Mar 2015Nothing published for this version
-
2.3.910 Feb 2015Nothing published for this version
-
2.3.8no dateNothing published for this version
-
2.3.7no dateNothing published for this version
-
2.3.6no dateNothing published for this version
-
2.3.5no dateNothing published for this version
-
2.3.413 Jan 2015Nothing published for this version
-
2.3.311 Aug 2014Nothing published for this version
-
2.3.2no dateNothing published for this version
-
2.3.115 Apr 2014Nothing published for this version
-
2.3.012 Mar 2014Nothing published for this version
-
2.2.1005 Mar 2014Nothing published for this version
-
2.2.9no dateNothing published for this version
-
2.2.8no dateNothing published for this version
-
2.2.7no dateNothing published for this version
-
2.2.6no dateNothing published for this version
-
2.2.531 Oct 2013Nothing published for this version
-
2.2.421 Aug 2013Nothing published for this version
-
2.2.3no dateNothing published for this version
-
2.2.222 Jul 2013Nothing published for this version
-
2.2.110 May 2013Nothing published for this version
-
2.2.0no dateNothing published for this version
-
2.1.617 Apr 2013Nothing published for this version
-
2.1.5no dateNothing published for this version
-
2.1.413 Mar 2013Nothing published for this version
-
2.1.319 Feb 2013Nothing published for this version
-
2.1.2no dateNothing published for this version
-
2.1.106 Feb 2013Nothing published for this version
-
2.1.029 Jan 2013Nothing published for this version
-
2.0.826 Jan 2013Nothing published for this version
-
2.0.7no dateNothing published for this version
-
2.0.619 Dec 2012Nothing published for this version
-
2.0.520 Nov 2012Nothing published for this version