定制 studioemma/multilingual 二次开发

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

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

studioemma/multilingual

Composer 安装命令:

composer require studioemma/multilingual

包简介

Enable Multilingual document support for Pimcore.

README 文档

README

Adds feature to Pimcore documents to create a solid tree throughout different languages. Every language will have the exact same document tree. No exceptions.

Features

  • When creating a new document in a language, it will create a document in all other languages and link them together.
  • Ensures the document tree is exactly the same for all languages
  • Enables Master Document setting by default to follow the main language (first available language)
  • Copies the document properties to all language documents
  • Provides helper functions to link to another language
  • Pimcore documents are only displayed per language

Usage

  • Enable all languages in system config you require
  • Enable and install this plugin

View helpers

$this->inotherlang($document, $language = null);

Returns the provided document in the provided language.

If no language is provided, the current active language is used.

A Document object or document ID is accepted.

Licence

OSL - Open Software Licence 3.0

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 19
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-11-06