laminas / laminas-i18n
Provide translations for your application, and filter and validate internationalized values
Fund package maintenance!
Community Bridge
Installs: 1 557 224
Dependents: 115
Suggesters: 12
Security: 0
Stars: 19
Watchers: 16
Forks: 7
Open Issues: 12
Requires
- php: ^7.3 || ~8.0.0
- ext-intl: *
- laminas/laminas-stdlib: ^2.7 || ^3.0
- laminas/laminas-zendframework-bridge: ^1.0
Requires (Dev)
- laminas/laminas-cache: ^2.6.1
- laminas/laminas-coding-standard: ~1.0.0
- laminas/laminas-config: ^2.6
- laminas/laminas-eventmanager: ^2.6.2 || ^3.0
- laminas/laminas-filter: ^2.6.1
- laminas/laminas-servicemanager: ^3.2.1
- laminas/laminas-validator: ^2.6
- laminas/laminas-view: ^2.6.3
- phpunit/phpunit: ^9.3
Suggests
- laminas/laminas-cache: Laminas\Cache component
- laminas/laminas-config: Laminas\Config component
- laminas/laminas-eventmanager: You should install this package to use the events in the translator
- laminas/laminas-filter: You should install this package to use the provided filters
- laminas/laminas-i18n-resources: Translation resources
- laminas/laminas-servicemanager: Laminas\ServiceManager component
- laminas/laminas-validator: You should install this package to use the provided validators
- laminas/laminas-view: You should install this package to use the provided view helpers
Conflicts
- phpspec/prophecy: <1.9.0
Replaces
- zendframework/zend-i18n: ^2.10.1
- 2.12.x-dev
- 2.11.x-dev
- 2.11.0
- 2.10.x-dev
- 2.10.3
- 2.10.2
- 2.10.1
- 2.10.0
- 2.9.2
- 2.9.1
- 2.9.0
- 2.8.0
- 2.7.4
- 2.7.3
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.0
- 2.5.1
- 2.5.0
- 2.4.13
- 2.4.12
- 2.4.11
- 2.4.10
- 2.4.9
- 2.4.8
- 2.4.7
- 2.4.6
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.4.0rc7
- 2.4.0rc6
- 2.4.0rc5
- 2.4.0rc4
- 2.4.0rc3
- 2.4.0rc2
- 2.4.0rc1
- 2.3.9
- 2.3.8
- 2.3.7
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.10
- 2.2.9
- 2.2.8
- 2.2.7
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.2.0rc3
- 2.2.0rc2
- 2.2.0rc1
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
This package is auto-updated.
Last update: 2020-12-24 13:38:34 UTC
README
Laminas\I18n
comes with a complete translation suite which supports all major
formats and includes popular features like plural translations and text domains.
The Translator component is mostly dependency free, except for the fallback to a
default locale, where it relies on the Intl PHP extension.
The translator itself is initialized without any parameters, as any configuration to it is optional. A translator without any translations will actually do nothing but just return the given message IDs.
- File issues at https://github.com/laminas/laminas-i18n/issues
- Documentation is at https://docs.laminas.dev/laminas-i18n/