diff --git a/localization.md b/localization.md index bdf1d0c363..018323b087 100644 --- a/localization.md +++ b/localization.md @@ -1,6 +1,7 @@ # Localization - [Introduction](#introduction) + - [Configuring The Locale](#configuring-the-locale) - [Defining Translation Strings](#defining-translation-strings) - [Using Short Keys](#using-short-keys) - [Using Translation Strings As Keys](#using-translation-strings-as-keys) @@ -29,6 +30,7 @@ All language files return an array of keyed strings. For example: 'welcome' => 'Welcome to our application' ]; + ### Configuring The Locale The default language for your application is stored in the `config/app.php` configuration file. Of course, you may modify this value to suit the needs of your application. You may also change the active language at runtime using the `setLocale` method on the `App` facade: