定制 junohamburg/kirby-language-selector 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

junohamburg/kirby-language-selector

Composer 安装命令:

composer require junohamburg/kirby-language-selector

包简介

Kirby Language Selector

README 文档

README

This plugin for Kirby 5 replaces the default language dropdown with a customized version. It displays the translation state of each language and adds a dropdown for deleting translations.

Language Selector in Kirby panel

Please note: If you are using Kirby 4, please install v1.1.9.

UI states

Language Selector states
Left to right: No translations, some translations, dropdown.

Installation

Download

Download and copy this repository to /site/plugins/kirby-language-selector.

Composer

composer require junohamburg/kirby-language-selector

Git submodule

git submodule add https://github.com/junohamburg/kirby-language-selector.git site/plugins/kirby-language-selector

Setup

Install the plugin in a multi-language Kirby site.

Please note: On small viewports, the default language dropdown is displayed.

Available options

site/config/config.php

<?php

return [
  'junohamburg.language-selector' => [
    'allowDelete' => false, // Hide dropdown for deleting translations, default: true
  ]
];

Contributions

Plugin Translations

The dialog text and tooltips are not translated into every language that the Kirby panel supports. For missing languages, feel free to add a pull request with a new yml translation file in this folder.

Disclaimer

This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.

Similar plugins

https://github.com/Daandelange/k3-translations
https://github.com/doldenroller/k3-translation-status
https://github.com/sietseveenman/kirby3-language-sync

License

MIT

Credits

统计信息

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

GitHub 信息

  • Stars: 60
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固