Skip to content

Commit

Permalink
Improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chukShirley committed Dec 23, 2019
1 parent 10d757a commit f27c30c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Zend MVC module for php installations with no i18n extension

## Installation
```bash
$ composer require chuk-shirley/noi18n:dev-master
$ composer require chuk-shirley/no-intl
```

## Configuration
Expand All @@ -16,4 +16,11 @@ return [
];
```

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.
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.
```php
return [
'no_intl' => [
'default_locale' => 'en_US_POSIX', // Rename to different locale (e.g. fr-CA, fr-FR, etc.)
],
];
```

0 comments on commit f27c30c

Please sign in to comment.