teampro / language-translation-scanner
An elegant way to scan all text of blade files and send to database them.
Package info
github.com/teamprodev/teampro_language_scanner
pkg:composer/teampro/language-translation-scanner
v1.0.61
2021-02-21 18:43 UTC
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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").