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

19 lines
498 B
PHP

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