Removed references to anything related with translations

This commit is contained in:
Alejandro Celaya
2019-09-12 08:09:17 +02:00
parent fdb98fa2a9
commit 7b0ccc9f69
17 changed files with 14 additions and 110 deletions

View File

@@ -47,9 +47,6 @@ return [
'post-routing' => [
'middleware' => [
Expressive\Router\Middleware\DispatchMiddleware::class,
// Only if a not found error is triggered, set-up the locale to be used
Common\Middleware\LocaleMiddleware::class,
Core\Response\NotFoundHandler::class,
],
'priority' => 1,

View File

@@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
use Shlinkio\Shlink\Common;
return [
'translator' => [
'locale' => Common\env('DEFAULT_LOCALE', 'en'),
],
];