承接 patrick/language-panel 相关项目开发

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

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

patrick/language-panel

最新稳定版本:2.0.0

Composer 安装命令:

composer require patrick/language-panel

包简介

FilamentPHP plugin to manage translations with.

README 文档

README

A FilamentPHP plugin to load and manage translations with.

This package does three things:

  1. Loads translations from your lang/ directory, and uses Spatie's translation loader to store and read your data.
  2. Provides you with a filament admin panel plugin to manage the loaded translations.
  3. Provides you with the option to download the translations in excel format, edit them, and upload them again.

Screenshots

index upload import

Installation

  • Install this package: composer require patrick/language-panel
  • Publish the migrations of Spatie's package and run them:
php artisan vendor:publish --provider="Spatie\TranslationLoader\TranslationServiceProvider"
php artisan migrate
  • Load your translations using artisan: php artisan language-panel:import.
  • Publish the configuration assets to customize which functions of the panel can be used: php artisan vendor:publish --tag=language-panel-config.
  • Publish the translations if you would like to adjust them: php artisan vendor:publish --tag=language-panel-lang.

Usage

Register the following plugin in your admin panel: Patrick\LanguagePanel\LanguagePanel:make()

The panel will now be available at /language-lines, you can edit lines here that you have imported.

Todo

  • Support vendor lines

Great alternatives

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-20