notamedia/bitrix-i18n
Composer 安装命令:
composer require notamedia/bitrix-i18n
包简介
i18n in Bitrix CMS
README 文档
README
Module of internationalization of content in info blocks for Bitrix CMS. Allows you to create multiple language versions of the item with a public ID.
See the screenshots of the interface of internationalization in the wiki.
Installation
Download the library using Composer:
composer require notamedia/bitrix-i18n
Create migration file with contents:
<?php use Bitrix\Main\Loader; use Notamedia\i18n\Iblock\Converter\IblockManager; // 1. Installation module notamedia.i18n // 2. Convertion info block if (Loader::includeModule('notamedia.i18n')) { $iblockId = 1; // ID of your info block $manager = new IblockManager($iblockId); $manager->convert('PUBLIC_ID', 'LANG', 'ru'); }
Requirements
- PHP >= 5.4
- Bitrix CMS >= 15.5.10
统计信息
- 总下载量: 162
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-16