Skip to main content
Version: 0.3.0-beta

Configuration

Publish the config file​

php artisan vendor:publish --tag=laratransmanager-config

Usage​

Caching​

The config file is simple:

    'cache_translations' => true,

When it's true, all translations will be cached, which gives us better performance instead of fetching the translations from the database every time.

    'cache_lifetime' => 3600,

The cache lifetime is in seconds.

Clearing the cache​

php artisan cache:clear

Or you can do that from the dashboard.

info

It's necessary to clear the cache after you finish form translations to take effect.