定制 infofactory/statamic-ai-translations 二次开发

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

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

infofactory/statamic-ai-translations

Composer 安装命令:

composer require infofactory/statamic-ai-translations

包简介

A Statamic addon that lets you translate pages using AI

README 文档

README

Statamic AI Translations is a Statamic addon that uses LLMs to translate your content.

Features

This addon does:

  • Translates your content using LLMs
  • Provide custom style and guidelines for the translations
  • Choose your favorite LLM provider

How to Install

You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:

composer require infofactory/statamic-ai-translations

How to Use

This addon under the hood uses PrismPHP.

Providers are configured following Laravel's environment configuration best practices:

  1. Each provider's configuration pulls values from environment variables
  2. Default values are provided as fallbacks
  3. Environment variables follow a predictable naming pattern:
  • API keys: PROVIDER_API_KEY
  • URLs: PROVIDER_URL
  • Other settings: PROVIDER_SETTING_NAME

You can check which providers are supported and how to configure them following Prism's documentation.

If a Provider you're looking for is not yet supported you can always extend Prism with a Custom Provider.

Author

This addon is developed by InfoFactory.

License

"Statamic AI Translations" is paid software with a source-available codebase. If you want to use it, you’ll need to buy a license from the Statamic Marketplace. The license is valid for only one project.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2025-11-07