teampro / language-translation-scanner
An elegant way to scan all text of blade files and send to database them.
v1.0.61
2021-02-21 18:43 UTC
README
An elegant way to scan all text of blade files and send to database them.
composer require teampro/language-translation-scanner
You should place it in config/app.php ===> 'providers' =>
'providers' => [ ...
TeamPro\TranslateScanner\TranslateScannerServiceProvider::class,
]
For finding texts use --- composer require nette/finder ---
Do --- php artisan migrate --- and scan it with --- php artisan scan:translation --- in cmd.
All formats of text must be --- t("your text here") --- in .blade.php files. For example:
t("your any texts here")
it may contain any tags which have t("your text here").