定制 jandh/translator 二次开发

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

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

jandh/translator

Composer 安装命令:

composer require jandh/translator

包简介

A translation field for Craft CMS

README 文档

README

A translation field for Craft CMS to add translatable text snippets from your templates to entries, channels, globals.

Screenshot

Requirements

This plugin requires Craft CMS 3.x or 4.x.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require jandh/translator
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Translator.

Translator Overview

Translator is a field type, that provides a UI in the form of a field for static translations from your templates. This way authors can edit translatable text snippets in the actual entry, category, ... they are used in. Making the translations editable on this level provides ensures a better author experience.

Using Translator

Translator will pick up all the static translations from your templates and provides them as an option for your field.

Saving a new translation will add it to the static translations file (translations/locale/site.php). If no value exists or the file does not exists it will add it to the file or generate the file.

Translator Roadmap

  • 👀 Add modules folder to the translation sources

Brought to you by Jan D'Hollander

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-07-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固