chuk-shirley/no-intl

Zend MVC module for php installations with no internationalization extension

Maintainers

👁 chukShirley

Package info

github.com/chukShirley/no-intl

pkg:composer/chuk-shirley/no-intl

Statistics

Installs: 40

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

0.1.5 2020-01-09 12:39 UTC

Requires

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 246f2b2c84bec733a72bf7de39e83e8d032adbe3

ZendFrameworkintlinternationalization

This package is auto-updated.

Last update: 2026-06-10 03:33:24 UTC


README

Zend MVC module for php installations with no i18n extension

Installation

$ composer require chuk-shirley/no-intl

Configuration

After installing the package, you'll need to add the module to your module config. This is typically found in /config/modules.config.php. Please ensure that this module is listed after Zend\I18n.

return [
 // ... other modules
 'Zend\I18n',
 'NoIntl',
];

If you would like to use a locale other than en_US_POSIX, you'll need to copy the configuration file from /config/no_intl.global.php.dist to your application's local config directory, remove the .dist suffix, and specify your locale in the configuration array.

return [
 'no_intl' => [
 'default_locale' => 'en_US_POSIX', // Rename to different locale (e.g. fr-CA, fr-FR, etc.)
 ],
];