teampro/language-translation-scanner

An elegant way to scan all text of blade files and send to database them.

Installs: 24

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/teampro/language-translation-scanner

v1.0.61 2021-02-21 18:43 UTC

This package is auto-updated.

Last update: 2025-11-22 20:04:01 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").