Skip to content

Commit

Permalink
Add sub menu item for localization
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Dec 13, 2018
1 parent 3e6d347 commit a4cd9b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions localization.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -29,6 +30,7 @@ All language files return an array of keyed strings. For example:
'welcome' => 'Welcome to our application'
];

<a name="configuring-the-locale"></a>
### 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:
Expand Down

0 comments on commit a4cd9b3

Please sign in to comment.