No description
Find a file
2022-07-27 14:33:56 +02:00
.vscode Fix bugs sh01 2022-07-18 10:36:38 +00:00
app passage phpcbf 2022-07-27 14:33:56 +02:00
bootstrap integration 2021-11-18 14:36:06 +01:00
config passage phpcbf 2022-07-27 14:33:56 +02:00
database title,description et keywords seo 2022-05-12 16:03:40 +02:00
public Squashed commit of the following: 2022-05-10 11:57:30 +02:00
resources Fix bugs sh01 2022-07-18 10:36:38 +00:00
routes passage phpcbf 2022-07-27 14:33:56 +02:00
storage integration 2021-11-18 14:36:06 +01:00
.editorconfig integration 2021-11-18 14:36:06 +01:00
.env.example Fix bugs sh01 2022-07-18 10:36:38 +00:00
.gitattributes integration 2021-11-18 14:36:06 +01:00
.gitignore Fix bugs sh01 2022-07-18 10:36:38 +00:00
.gitlab-ci.yml maj gitlab ci 2022-07-27 14:29:58 +02:00
.styleci.yml integration 2021-11-18 14:36:06 +01:00
artisan integration 2021-11-18 14:36:06 +01:00
composer.json Fix bugs sh01 2022-07-18 10:36:38 +00:00
composer.lock Fix bugs sh01 2022-07-18 10:36:38 +00:00
package-lock.json Fix bugs sh01 2022-07-18 10:36:38 +00:00
package.json Add SlidesController 2021-12-06 16:27:44 +01:00
phpcs.xml Fix bugs sh01 2022-07-18 10:36:38 +00:00
phpunit.xml integration 2021-11-18 14:36:06 +01:00
README.md switch to db storage for translations 2022-07-27 13:16:09 +02:00
server.php integration 2021-11-18 14:36:06 +01:00
webpack.mix.js Fix bugs sh01 2022-07-18 10:36:38 +00:00

DOUX

Installation

php artisan storage:link
cp .env.example .env
php artisan key:generate
composer install
php artisan vendor:publish --provider="JoeDixon\Translation\TranslationServiceProvider"
  • Créez la base de données
  • Éditez le .env
php artisan migrate --seed

Pour le front :

npm install
npm run prod

Crons

Put every min in PROD :

php artisan schedule:run

déploiement du switch de stockage des traductions joedixon/laravel-translation de file vers database

php artisan translation:sync-translations

paramètres à entrer :

translation::translation.prompt_from_driver:

file

translation::translation.prompt_to_driver:

database

translation::translation.prompt_language_if_any:

laisser vide le dernier paramètre pour traiter toutes les langues.

Résultat

translation::translation.syncing
Translations have been synced 😎