定制 ride/web-i18n-inline 二次开发

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

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

ride/web-i18n-inline

Composer 安装命令:

composer require ride/web-i18n-inline

包简介

Inline translator

README 文档

README

This module enables a feature to edit translateable labels on your website instead of having to edit translation files.

Important: This module adds extra markup to all translateable labels, this might result in strange behaviour. Be careful when using and be aware some errors may occure in the application flow when the translator option is enabled.

Setup

This modules works with API calls on the /api/v1/i18n endpoint. So you want to secure this path. Go to the top right user menu and navigate to "access control". Here you can secure the path by adding /api** or /api/v1/i18n** to the list.

A user has to be logged in and have the right permissions in order to use this module.

  • Whitelist the /api/v1/i18n** path.
  • Enable the permission.i18n.inline.translate permission.

Usage

Translation toggle button

You can now toggle the translator in the top menu in the backend.

Translation interface

When the translator is enabled, you'll see the translation interface in the bottom left corner. You can click a translation to edit it.

Highlighted translation

When editing a translation, all labels using that translation will be highlighted. It's also possible to alt+click a translation to quickly open the edit window.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 11
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-03-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固