Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
17 / 17 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | /* |
| 3 | * This file is part of App Project. |
| 4 | * |
| 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | * file that was distributed with this source code. |
| 7 | */ |
| 8 | /** |
| 9 | * Language config. |
| 10 | * |
| 11 | * @see App::language() |
| 12 | * @see https://docs.aplus-framework.com/guides/libraries/mvc/index.html#language-service |
| 13 | */ |
| 14 | |
| 15 | use Framework\Language\FallbackLevel; |
| 16 | |
| 17 | return [ |
| 18 | 'default' => [ |
| 19 | 'default' => 'en', |
| 20 | 'current' => 'en', |
| 21 | 'supported' => [ |
| 22 | 'en', |
| 23 | 'es', |
| 24 | 'pt-br', |
| 25 | ], |
| 26 | 'fallback_level' => FallbackLevel::none, |
| 27 | 'directories' => [ |
| 28 | APP_DIR . 'Languages', |
| 29 | ], |
| 30 | 'find_in_namespaces' => false, |
| 31 | 'negotiate' => false, |
| 32 | ], |
| 33 | ]; |