laminas/laminas-i18n

Provide translations for your application, and filter and validate internationalized values

Fund package maintenance!
Community Bridge

Installs: 4 199 015

Dependents: 158

Suggesters: 26

Security: 0

Stars: 22

Watchers: 17

Forks: 13

Open Issues: 12

2.11.3 2021-10-13 08:07 UTC

README

Build Status

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.