developerekramul/laravel-auto-translate
Composer 安装命令:
composer require developerekramul/laravel-auto-translate
包简介
Automatic Google Translate + Banglish toggle for Laravel
README 文档
README
Automatic Google Translate + Banglish toggle for Laravel.
Installation
composer require developerekramul/laravel-auto-translate Publish Config (optional) php artisan vendor:publish --provider="Developerekramul\AutoTranslate\AutoTranslateServiceProvider" --tag=config <h1>{{ translate($product->title) }}</h1> <p>{{ translate('Category', null, ['banglish' => true]) }}</p> <span>{{ translate($product->new_price, null, ['is_price'=>true,'currency'=>'৳']) }}</span> $title = translate($request->title, null, ['banglish'=>true]); $price = translate($request->price, null, ['is_price'=>true,'currency'=>'৳']); $product->title_translated = translate($product->title); $product->description_translated = translate($product->description); translate('Category', null, ['banglish'=>true]); translate(1000, null, ['is_price'=>true, 'currency'=>'৳']);
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-25