承接 bit-mx/statamic-translate-lang-files 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

bit-mx/statamic-translate-lang-files

最新稳定版本:1.1.0

Composer 安装命令:

composer require bit-mx/statamic-translate-lang-files

包简介

Statamic utility to manage Laravel language files from the Control Panel.

README 文档

README

Statamic utility package to edit Laravel language files from the Control Panel.

Requirements

  • PHP 8.4+
  • Laravel 12+
  • Statamic 6+

Installation

composer require bit-mx/statamic-translate-lang-files
php artisan statamic-translate-lang-files:install

Control Panel Assets

No host wiring is required. The package automatically publishes and registers its CP script.

If needed, you can republish assets manually:

php artisan vendor:publish --tag=statamic-translate-lang-files-assets --force

Permissions

Assign these permissions to the roles that should manage translations:

  • access translation-manager utility
  • edit translation manager
  • sync translation manager

Current Features

  • Browse locales and translation groups from lang/{locale}/*.php
  • Edit translation keys directly in Statamic CP utility
  • Save updates to language files
  • Sync missing keys from reference locale
  • Optional cache refresh and optional Git auto commit via config
  • OPcache invalidation on save/sync (configurable)

Configuration

Publish config:

php artisan vendor:publish --tag=statamic-translate-lang-files-config

Main config file: config/statamic-translate-lang-files.php

Useful flags in features:

  • refresh_caches (true by default)
  • invalidate_opcache (true by default)

Testing

composer test

or:

./vendor/bin/phpunit

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固