You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/config/translator.php

20 lines
518 B
PHTML

<?php declare(strict_types=1);
use Translator\Framework\LaravelConfigLoader;
use Translator\Infra\LaravelJsonTranslationRepository;
return [
'languages' => ['fa'],
'directories' => [
app_path(),
resource_path('views'),
],
'output' => resource_path('lang'),
'extensions' => ['php'],
'functions' => ['lang', '__'],
'container' => [
'config_loader' => LaravelConfigLoader::class,
'translation_repository' => LaravelJsonTranslationRepository::class,
],
];