-
Notifications
You must be signed in to change notification settings - Fork 84
Upgrade 2.0 to 2.3
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:
-
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 yourroutes/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'], ],
-
You may want to switch to in place editing mode that does not affect layout. See Enabling Layout Non Modifying In Place Edit