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

Fund package maintenance!
Community Bridge

Installs: 3 248 624

Dependents: 141

Suggesters: 17

Security: 0

Stars: 21

Watchers: 16

Forks: 10

Open Issues: 14

2.11.1 2021-04-07 21:10 UTC


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.