alisalehi/laravel-lang-files-translator
最新稳定版本:v1.0.6
Composer 安装命令:
composer require alisalehi/laravel-lang-files-translator
包简介
easiest way to translate lang files to another language in laravel
README 文档
README
Laravel lang files translator is a package for the Easiest way to translate lang files to other languages in PHP format in Laravel.
Problems solved:
Did you buy a Laravel script and it doesn't have your language in thelangfile?
Do you want to make your web application bilingual, but you don't know how to translate all those words?
Do you not have the possibility to use the JSON format that many Laravel language translation packages give you?
Installation
composer require alisalehi/laravel-lang-files-translator
💎Usage
php artisan translate:lang {from} {to}
for example, your locale is English and you have en lang files and want to have these files to Persian(fa) lang too. just enough to run:
php artisan translate:lang en fa
and done! Go to lang/fa and you will see all the translated files from the en folder.
how to use video ⤵️
291937142-9fdb0342-a045-4a3d-8b76-51c848dce2ec.mp4
🙋♂️Contributing
As Einstein said, "There's a way to do it better!" So I welcome any change that makes the code better, more readable, and testable. (Even renaming a variable!)
Just open an issue or pull a request.
License
The MIT License (MIT). See License File for more information.
❤️Contributing
This project exists thanks to all the people who contribute. CONTRIBUTING
统计信息
- 总下载量: 4.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 45
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-09