doldenroller/k3-translation-status
最新稳定版本:v3.0.0
Composer 安装命令:
composer require doldenroller/k3-translation-status
包简介
Show all available translations of a page and if they are finished.
README 文档
README
Infosection to display all translations of a page in two lists, seperated wether the language is translated or not. By default a message is displayed if all languages are translated. Additionally the the template of the current page is displayed.

Install
Download Zip file
Copy plugin folder into site/plugins
Composer
I have no clue about the composer... but if I get right this should work.
Run composer require doldenroller/kirby-translation-status.
Usage
Find and show translations of your page in the panel or use it as language switch in your blueprints.
Example
Basic setup:
sections: mysection: headline: Page Translations type: translationstatus finished: Translated Languages unfinished: Translations to be done allfinished: All Translations done
With translations in Blueprint:
sections: mysection: headline: Page Translations type: translationstatus finished: en: Translated Languages de: Übersetzte Sprachen unfinished: en: Translations to be done de: Noch zu erledigen allfinished: en: All Translations done de: Alle Übersetzungen angelegt extend: true
Translations can also be setup in your languagefiles of your setup:
'translations.finished' => '', 'translations.unfinished' => '', 'translations.all' => '',
More Options:
With the extend: true property, the finished list is still showing when all translations are done, so you can still use it as a language switch.
The template: false property hides the intended Template information.
And finally you can exclude pages by template. Either with the ignore: property like this:
# as comma-sperated list ignore: news, jobs # or as normal list ignore: - news - jobs
This can also be setup as global option in your config
// again either comma-separeted 'doldenroller.templatestatus.ignore' => 'solutions, default' // or as array 'doldenroller.templatestatus.ignore' => ['solutions', 'default']
Update/Changes in v2.0
First of all Kirby4 support is added. And the active language is underlined.
The config option changed from templatestatus.ignore to doldenroller.templatestatus.ignore.
And now it is possible to delete a translated content file. This can also be disabled or restricted in the blueprint or in config. The restriction can be made that only user-roles or users can delete the translated content. By now the users are found by their e-mailadresses. Maybe UUID support will be added in the future.
In the blueprint restrictions can be set with the delete: property like this:
# complete disabled delete: false # as comma-sperated list delete: admin, chief-editor@website.com # or as normal list delete: - admin - chief-editor@website.com
Or as global config-option:
// complete disabled 'doldenroller.templatestatus.delete' => false // again either comma-separeted 'doldenroller.templatestatus.delete' => 'admin, chief-editor@website.com' // or as array 'doldenroller.templatestatus.delete' => ['admin', 'chief-editor@website.com']
In the examples above all users with theadmin user role and the user with the e-mailadress chief-editor@website.com can delete translated content.
Update/Changes in v3.0
Kirby 5 support is added.
Possible enhencements
These could be difficult but would be nice features:
- Update hint, that shows when content is updated
Delete / reset language, because sometimes its easier to start from scratch- Add user identification by user-UUID (Not my prioraty, because I mostly work without UUIDs)
Refresh/update section when new translation is createdCheck compability with Kirby5
Older Versions
License
It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia animal abuse, violence or any other form of hate speech.
doldenroller/k3-translation-status 适用场景与选型建议
doldenroller/k3-translation-status 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1 次下载、GitHub Stars 达 11, 最近一次更新时间为 2023 年 05 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「kirby4」 「kirby4-cms」 「kirby4-plugin」 「kirby4-multilanguage」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 doldenroller/k3-translation-status 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 doldenroller/k3-translation-status 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 doldenroller/k3-translation-status 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Kirby plugin to schedule the automatic publishing of pages on a certain date+time. It is built to work with enabled cache.
Courier offers a convenient and painless solution for creating emails tailored for your Kirby website.
A search plugin for Kirby (v3+ that searches for full word combinations rather than just individual words.
The standalone version of Laravel's Blade templating engine for use outside of Laravel.
Helper tool that enables ray on all the extendable methods.
Kirby Admin Bar
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 19
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-22