teampro/language-translation-scanner
Composer 安装命令:
composer require teampro/language-translation-scanner
包简介
An elegant way to scan all text of blade files and send to database them.
README 文档
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").统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-02-17