NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #4826 most downloaded on Packagist
Provide translations for your application, and filter and validate internationalized values
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 the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
72 releases · first in 2012
Added #130 adds support for PHP 7.4. Changed Nothing. Deprecated Nothing. Removed Nothing. Fixed #129 fixes Hungarian PhoneNumber validator (mobile nu
Added #102 adds Zend\I18n\View\HelperTrait , which provides annotations describing the various helpers zend-i18n provides to a zend-view renderer. The
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 with Zend\View\Renderer\PhpRenderer in annotations on the $this variable within view scripts to provide IDE autocompletion for helper-provided methods.#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 under translate() 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.
One column per quarter.
Added Nothing. Changed Nothing. Deprecated Nothing. Removed Nothing. Fixed #122 fixes PHP 7.4 compatibility.
Added #106 adds support for PHP 7.3. Changed Nothing. Deprecated Nothing. Removed Nothing. Fixed #114 fixes PHP 7.4 compatibility. #116 fixes DateTime
#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.
Added #93 adds two methods to Translator , getCacheId(string $textDomain, string $locale) , and clearCache(string $textDomain, string $locale) . Chang
Translator, getCacheId(string $textDomain, string $locale),clearCache(string $textDomain, string $locale).TranslatorServiceFactory injects the configured TranslatorPluginManager,Added #71 adds a new option to the IsInt validator, strict . When set to boolean true, comparisons will use strict type validations. The default, fals
#71 adds a new option to the IsInt validator, 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 a setStrict($flag) method for
enabling/disabling the behavior.
#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.
Added Nothing. Changes #65 updates the PostCode validation for Ireland to support Eircode ( https://www.eircode.ie/what-is-eircode ) Deprecated Nothin
PostCode validation for Ireland to support Eircode (https://www.eircode.ie/what-is-eircode)LoaderPluginManagerFactory factory initializes the plugin manager instance, ensuring it is injecting the relevant configuration from the config service and thus seeding it with configured translator loader services. This means that the translator_plugins configuration will now be honored in non-zend-mvc contexts.LoaderPluginManager to ensure different cAsIng strategies will still resolve translation loaders under zend-servicemanager v3.PoEdit source keywords when a text_domain is defined.CurrencyFormat view helper for an ICU bug (http://bugs.icu-project.org/trac/ticket/10997).### Added - Nothing. ### Deprecated - Nothing. ### Removed - Nothing. ### Fixed - #42 fixes the behavior of the PhoneNumber validator to store the cou
PhoneNumber validator 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.Zend\I18n\View\HelperConfig implementation
when operating under zend-servicemanager v3.### Added - Nothing. ### Deprecated - Nothing. ### Removed - Nothing. ### Fixed - #45 fixes the Module::init() method to properly receive a ModuleMana
Module::init() method to properly receive a ModuleManager instance, and
not expect a ModuleEvent.### Added - #41 adds Zend\I18n\Module::init(), which registers a specification for the translator loader plugin manager with Zend\ModuleManager\Listen
Zend\I18n\Module::init(), which registers a specification for the translator
loader plugin manager with Zend\ModuleManager\Listener\ServiceListener.Zend\I18n\Translator\LoaderPluginManagerFactory, which provides a factory for container-interop-compatible containers (including zend-servicemanager)
Zend\I18n\Translator\LoaderPluginManagerFactory, which provides a factory
for container-interop-compatible containers (including zend-servicemanager)
for creating and returning a LoaderPluginManager instance.Zend\I18n\ConfigProvider (which provides an invokable configuration
provider class; this could be used with zend-expressive) and
Zend\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.Zend\I18n\View\HelperConfig, as the functionality is made obsolete by the
new Module class. The class will be removed with the 3.0 release.### Added - #8 adds support for Vietnamese postal codes. - #18 adds support for NumberFormatter text attributes to the NumberFormat view helper. - #28
NumberFormatter text attributes to the NumberFormat view helper.Translator::getTranslatedMessage() to prevent illegal
offset warnings.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →