Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentEsc committed Jan 14, 2016
1 parent b82d61e commit 761a6ca
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Subdomain localization support for Laravel.
- <a href="#configuration-file">Configuration file</a>
- <a href="#configuration-values">Configuration values</a>
- <a href="#useful-functions">Useful functions</a>
- <a href="#changelog">Changelog</a>
- <a href="#license">License</a>

## Installation
Expand Down Expand Up @@ -182,6 +183,11 @@ Use this option to enable or disable the use of the browser settings during the
Here you may change the name of the cookie used to save the locale.
This option is used only if localization with cookie is enabled.

- `domain` (default: `env('DOMAIN')`)

Here you may change the name of the domain used in your application.
By default, the domain is read from the .env file.

## Useful functions

The package provides useful functions that you can use - for example - in your views:
Expand Down Expand Up @@ -216,6 +222,10 @@ Use `Router::url($routeName, $routeAttributes = null, $locale = null)` to genera

You can pass route parameters if necessary. If you don't give a specific locale, it will use the current locale.

### Changelog

To see what has changed in recent versions, see the [CHANGELOG](https://github.com/LaurentEsc/Laravel-Subdomain-Localization/blob/master/CHANGELOG.md).

### License

This package is licensed under the [MIT license](https://github.com/LaurentEsc/Laravel-Subdomain-Localization/blob/master/LICENSE).

0 comments on commit 761a6ca

Please sign in to comment.