asioso / pimcore-xliff2_0-module
一个用于从Pimcore生成xliff2.0翻译文件的包
v0.10
2020-08-14 07:53 UTC
Requires
- php: >=7.0
- pimcore/pimcore: >=6.0
This package is auto-updated.
Last update: 2024-09-14 17:26:42 UTC
README
先决条件
- PHP 7.1或更高版本 (https://secure.php.net/)
- Composer (https://getcomposer.org.cn/download/)
- Pimcore安装(v5.7或更高版本)
安装
composer require asioso/pimcore-xliff2_0-module
配置
只需在Pimcore扩展管理器中启用该包
翻译说明
基于Pimcore Notes&Events (https://pimcore.com/docs/5.x/Development_Documentation/Tools_and_Features/Notes_and_Events.html)
添加一个翻译类型
例如:
pimcore_admin: documents: notes_events: types: - '' - 'content' - 'seo' - 'warning' - 'notice' - 'translation' dataObjects: notes_events: types: - '' - 'content' - 'seo' - 'warning' - 'notice' - 'translation'
xliff1
xliff1和xliff2.0不兼容。要切换回xliff1,请再次禁用此包,但确保在此操作之前已重新导入所有xliff2文件。