diff --git a/localization.md b/localization.md index 82e2e3753fa..da366a25cf0 100644 --- a/localization.md +++ b/localization.md @@ -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'); + ## Basic Usage