Skip to content

Upgrade 2.0 to 2.3

Vladimir Schneider edited this page Mar 27, 2017 · 5 revisions

In addition to changes that you have to make to your code to reflect changes to Laravel 5.3 you will need to make the following changes when upgrading from LTM 2.0.x or 2.1.x to 2.2.x make sure you make the following changes:

  1. By default the web interface of the translation manager is no longer mapped to a route. To make it available at http://yourdomain.com/translations. Add the following to your routes/web.php file:

    \Route::group(['middleware' => 'web', 'prefix' => 'translations'], function () {
         Translator::routes();
     });

    Change the middleware and/or the prefix to adjust it to your site's requirements.

    If your config/laravel-translation-manager.php is of an earlier version you can delete the route related entries from it. These are no longer used:

    /*
     |--------------------------------------------------------------------------
     | Routes group config
     |--------------------------------------------------------------------------
     |
     | The default group settings for the elFinder routes.
     |
     */
     'route' => [
         'prefix' => 'translations',
         'middleware' => ['web', 'auth'],
     ],
  2. You may want to switch to in place editing mode that does not affect layout. See Enabling Layout Non Modifying In Place Edit

Clone this wiki locally