ludmanp/typicms-transdb

Manage language files and DB

v10.0.0 2023-12-17 09:38 UTC

This package is auto-updated.

Last update: 2024-05-17 10:34:56 UTC


README

Based on themsaid/laravel-langman

Installation

Begin by installing the package through Composer. Run the following command in your terminal:

$ composer require ludmanp/typicms-transdb

Usage

Searching view files for missing translations and updates DB and files

php artisan trans:sync

This command will look into all files in resources/views, app and Modules and find all translation keys that are not covered in your translation files, after that it appends those keys to the files with a value equal to key. If key prefix is db, then value will be added to DB.