Browse Source

Merge pull request #2800 from barryvdh/patch-2

Add fallback_locale to config
Taylor Otwell 10 years ago
parent
commit
7a7835fe5f
1 changed files with 13 additions and 0 deletions
  1. 13 0
      app/config/app.php

+ 13 - 0
app/config/app.php

@@ -54,6 +54,19 @@ return array(
 
 	'locale' => 'en',
 
+	/*
+	|--------------------------------------------------------------------------
+	| Application Fallback Locale
+	|--------------------------------------------------------------------------
+	|
+	| The fallback locale determines the locale to use when the current one
+	| is not available. You may change the value to correspond to any of
+	| the language folders that are provided through your application.
+	|
+	*/
+
+	'fallback_locale' => 'en',
+
 	/*
 	|--------------------------------------------------------------------------
 	| Encryption Key