web-vision/deepltranslate-glossary
Composer 安装命令:
composer require web-vision/deepltranslate-glossary
包简介
DeepL Translate: Glossary - Add-on providing glossary functionality
README 文档
README
TYPO3 extension deepltranslate_glossary
Description
This extension provides glossary-flavoured translations for the TYPO3 extension deepltranslate_core.
Compatibility
| Branch | State | Composer Package Name | TYPO3 Extension Key | Version | TYPO3 | PHP |
|---|---|---|---|---|---|---|
| main | development, active support | web-vision/deepltranslate-glossary | deepltranslate_glossary | ^6, 6.0.x-dev | v13 + v14 | 8.2, 8.3, 8.4, 8.5 (depending on TYPO3) |
| 5 | active support | web-vision/deepltranslate-glossary | deepltranslate_glossary | ^5, 5.1.x-dev | v12 + v13 | 8.1, 8.2, 8.3, 8.4, 8.5 (depending on TYPO3) |
Features
- Extends
EXT:deepltranslate_coreas public available addon. - TYPO3-conform database records for own glossaries
- Synchronize button in glossary module folders
- Managing for glossaries by CLI
- Cleanups and auto-updates by CLI scripts or scheduler tasks
Installation
Install with your favour:
We prefer composer installation:
composer require -W \ 'web-vision/deepltranslate-core':'~6.0.0@dev' \ 'web-vision/deepltranslate-glossary':'~6.0.0@dev'
Note
Be aware that EXT:deepltranslate_glossary is a public addon for the
EXT:deepltranslate_core extension and cannot be used standalone,
and requires having EXT:deepltranslate_core DeepL API key set and site
configuration set according to the EXT:deepltranslate_core documentation.
Sponsors
We very much appreciate the sponsorship of the developments and features in the DeepL Translate Extension for TYPO3.
DeepL Glossary feature sponsored by
- Universität Osnabrück
- Hochschule für Musik Würzburg
- Carl von Ossietzky Universität Oldenburg
- Friedrich-Ebert-Stiftung
Create a release (maintainers only)
Prerequisites:
- git binary
- ssh key allowed to push new branches to the repository
- GitHub command line tool
ghinstalled and configured with user having permission to create pull requests.
Create release
Set
RELEASE_BRANCHto branch release should happen, for example: 'main'. SetRELEASE_VERSIONto release version working on, for example: '5.0.0'.
Important
Requires GitHub cli tool with personal token and
maintainer permission on the extension repository.
echo '>> Create release' ; \ RELEASE_BRANCH='main' ; \ RELEASE_VERSION='6.0.0' ; \ NEXT_DEV_VERSION='6.0.1' ; \ git checkout main && \ git fetch --all && \ git pull --rebase && \ git checkout ${RELEASE_BRANCH} && \ git pull --rebase && \ git checkout -b release-${RELEASE_VERSION} && \ sed -i "s/^COMPOSER_ROOT_VERSION.*/COMPOSER_ROOT_VERSION=\"${RELEASE_VERSION}\"/" Build/Scripts/runTests.sh && \ tailor set-version ${RELEASE_VERSION} && \ echo "${RELEASE_VERSION}" > VERSION && \ git add . && \ git commit -m "[RELEASE] ${RELEASE_VERSION}" && \ git push --set-upstream origin release-${RELEASE_VERSION} && \ gh pr create --fill --base ${RELEASE_BRANCH} --title "[RELEASE] ${RELEASE_VERSION}" && \ gh pr view --web && \ sleep 30 && \ gh pr checks --watch --interval 2 && \ sleep 5 && \ gh pr merge -rd --admin && \ git remote prune origin && \ git tag ${RELEASE_VERSION} && \ git push --tags && \ git checkout -b set-dev-version-${NEXT_DEV_VERSION} && \ tailor set-version ${NEXT_DEV_VERSION} && \ echo "${NEXT_DEV_VERSION}-dev" > VERSION && \ sed -i "s/^COMPOSER_ROOT_VERSION.*/COMPOSER_ROOT_VERSION=\"${NEXT_DEV_VERSION}-dev\"/" Build/Scripts/runTests.sh && \ sed -i "s/^ RELEASE_VERSION=.*/ RELEASE_VERSION='${RELEASE_VERSION}' ; \\\/" README.md && \ sed -i "s/^ NEXT_DEV_VERSION=.*/ NEXT_DEV_VERSION='${NEXT_DEV_VERSION}' ; \\\/" README.md && \ git add . && \ git commit -m "[TASK] Set \"${NEXT_DEV_VERSION}-dev\"" && \ git push --set-upstream origin set-dev-version-${NEXT_DEV_VERSION} && \ gh pr create --fill --base ${RELEASE_BRANCH} --title "[TASK] Set \"${NEXT_DEV_VERSION}-dev\"" && \ gh pr view --web && \ sleep 30 && \ gh pr checks --watch --interval 2 && \ sleep 5 && \ gh pr merge -rd --admin && \ git remote prune origin
This triggers the on push tags workflow (publish.yml) which creates the upload package,
creates the GitHub release and also uploads the release to the TYPO3 Extension Repository.
web-vision/deepltranslate-glossary 适用场景与选型建议
web-vision/deepltranslate-glossary 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 36.11k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2024 年 12 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「extension」 「translate」 「TYPO3 CMS」 「glossary」 「deepl」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 web-vision/deepltranslate-glossary 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 web-vision/deepltranslate-glossary 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 web-vision/deepltranslate-glossary 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Easy to use i18n translation PHP class for multi-language websites
Store your language lines in the database, yaml or other sources
A custom URL rule class for Yii 2 which allows to create translated URL rules
Set Links with a specific language parameter
An Astrotomic Translatable extension for Laravel Nova.
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
统计信息
- 总下载量: 36.11k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 30
- 依赖项目数: 0
- 推荐数: 2
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-12-20