承接 unclecheese/silverstripe-langeditor 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

unclecheese/silverstripe-langeditor

Composer 安装命令:

composer require unclecheese/silverstripe-langeditor

包简介

CMS module to edit static language files.

README 文档

README

Gives a CMS user the ability to change the static language files and translate them into new languages.

Maintainer Contact

  • Uncle Cheese <unclecheese (at) leftandmain (dot) com>

Requirements

SilverStripe CMS ~3.x-dev / 3.6.x-dev

Installation

  • Download the module
  • Extract the downloaded archive into your site root so that the destination folder is called langeditor, opening the extracted folder should contain _config.php in the root along with other files/folders
  • Run dev/build?flush=all to regenerate the manifest

Usage

A new section 'Translator' is added to the CMS.

You can filter the language files by module and language with the filter options on the left. Once selected the translations are displayed on the right. You can search within the translation using the search field and the namespace dropdown.

You can copy a language file into a new language using the copy function. After copying the file you can translate its content.

If you use Translatable extension, the setting for Translatable::get_allowed_locales() is used to determine what languages can be created.

If you use Fluent extension, the setting for Fluent::locales() is used to determine what languages can be created.

To hide certain modules or languages from translation add the following to your _config:

Config::inst()->update('LangEditor', 'exclude_modules', [
    'cms',
    'framework',
    '[module folder]',
]);

Config::inst()->update('LangEditor', 'exclude_locales', [
    'en_GB',
]);

Or via yaml config file:

LangEditor:
    exclude_modules:
        - 'cms'
        - 'framework'
        - '[module folder]'
    exclude_locales:
        - 'en_GB'

统计信息

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

GitHub 信息

  • Stars: 21
  • Watchers: 5
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-11-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固