zsnakeee/lang-pilot 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱: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
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固