revolta77/ltm
Composer 安装命令:
composer require revolta77/ltm
包简介
Enhanced Laravel Translation Manager
README 文档
README
This package is used to comfortably manage, view, edit and translate Laravel language files with translation assistance through the Yandex Translation API. It augments the Laravel Translator system with a ton of practical functionality. Features
⚠️ Only MySQL and PostgreSQL Database connections are supported. Adding another database only requires additional repository interface implementations following the examples of MysqlTranslatorRepository.php or PostgresTranslatorRepository.php.
⚠️ **If you want to use this package for a smaller version than Laravel 7 use the original package from (https://github.com/vsch/laravel-translation-manager) **
When upgrading from earlier versions run:
$ php artisan vendor:publish --provider="Revolta77\TranslationManager\ManagerServiceProvider" --tag=public --force $ php artisan vendor:publish --provider="Revolta77\TranslationManager\ManagerServiceProvider" --tag=migrations $ php artisan migrate
Supported Laravel Versions
- For Laravel 7.0 require:
"revolta77/ltm": "~1.0"
Initial Localizations Added
❗ If you have made correction to the auto-translated localization and would like to share them with others please do so. It will be greatly appreciated.
Detailed information is now in the wiki.
Installation
Configuration
Version Notes
Per Locale User Access Control
Implementation changed from the last release since using a closure in config file is not supported by the framework. Now using abilities to do the same. See Enabling per locale user access control
By default this option is turned off and any user who does not have ltm-admin-translations
ability can modify any locale. With user_locales_enabled option enabled you can control which
locales a user is allowed to modify. Default for all users is all locales, unless you
specifically change that through the web UI, see User Admin or by populating the
ltm_user_locales table appropriately.
Screen Shot
* This package was originally based on Barry vd. Heuvel's excellent barryvdh package and vsch package from https://github.com/vsch/laravel-translation-manager.
revolta77/ltm 适用场景与选型建议
revolta77/ltm 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 219 次下载、GitHub Stars 达 0, 最近一次更新时间为 2020 年 11 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「translations」 「translator」 「laravel」 「languages」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 revolta77/ltm 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 revolta77/ltm 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 revolta77/ltm 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Deepl Automated translations for Laravel lang files
Adds support for dynamic translations from Google Spreadsheets.
A Laravel package for multilingual models
Olympus Hermes is a bundle used to translate all messages from your WordPress packages and Olympus bundles.
Alfabank REST API integration
TranslationBundle bundle
统计信息
- 总下载量: 219
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-11

