Skip to content

Commit

Permalink
Add isLocale method information
Browse files Browse the repository at this point in the history
  • Loading branch information
juukie committed Mar 9, 2016
1 parent e90cdec commit efb5454
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ You may also configure a "fallback language", which will be used when the active

'fallback_locale' => 'en',

#### Check active language

You may also check if a given language equals the active language using the `isLocale` method on the `App` [facade](/docs/{{version}}/facades):

App::isLocale('en');

<a name="basic-usage"></a>
## Basic Usage

Expand Down

0 comments on commit efb5454

Please sign in to comment.