定制 zsnakeee/lang-pilot 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zsnakeee/lang-pilot

最新稳定版本:1.0.0

Composer 安装命令:

composer require zsnakeee/lang-pilot

包简介

A powerful and intuitive Laravel package for managing translations and localization. Lang Pilot simplifies the process of extracting, organizing, and managing language keys across your application, offering seamless integration with various translation drivers. Whether you're localizing a small proj

README 文档

README

Lang Pilot

Lang Pilot allows you to translate your app into any language depending on your description using AI.

Installation

Requires PHP 8.0+

Require LangPilot using Composer:

composer require zsnakeee/lang-pilot

Add GEMINI_API_KEY to your .env file:

GEMINI_API_KEY=your-api-key

Config

You can publish the config file with:

php artisan vendor:publish --tag=lang-pilot-config

Usage

Missing translations

Show missing translations for a specific locale:

php artisan lang-pilot:missing {locale}
php artisan lang-pilot:missing ar

Translate missing translations

Translate missing translations for a specific locale:

php artisan lang-pilot:translate {locale}
php artisan lang-pilot:translate ar

Testing

composer test

License

Lang Pilot is open-sourced software licensed under the [MIT license](LICENSE.md).

Support

If you encounter any issues or have questions, feel free to open an issue on GitHub.

统计信息

  • 总下载量: 24
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-10