Skip to content

Commit 2c79df3

Browse files
committed
Cache the language strings
1 parent 94a1f8b commit 2c79df3

File tree

2 files changed

+187
-99
lines changed

2 files changed

+187
-99
lines changed

src/TranslationServiceProvider.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class TranslationServiceProvider extends LaravelTranslationServiceProvider
1313
*/
1414
public function boot()
1515
{
16-
parent::boot();
16+
//parent::boot();
1717

1818
$this->publishes([
1919
__DIR__.'/../config/languagecenter.php' => config_path('languagecenter.php'),
@@ -30,7 +30,6 @@ public function register()
3030
$this->registerLoader();
3131

3232
$this->app->singleton('translator', function ($app) {
33-
3433
$loader = $app['translation.loader'];
3534

3635
// When registering the translator component, we'll need to set the default

0 commit comments

Comments
 (0)