lemonmind/pimcore-localized-assets
最新稳定版本:1.1.0
Composer 安装命令:
composer require lemonmind/pimcore-localized-assets
包简介
Pimcore Localized Assets - localize your assets with no duplicating files
README 文档
README
Pimcore Bundle to localize your assets with same file.
Installation
composer require lemonmind/pimcore-localized-assets bin/console pimcore:bundle:enable PimcoreLocalizedAssetsBundle bin/console pimcore:bundle:install PimcoreLocalizedAssetsBundle
After installation predefined assets metadata definitions with name "localized_asset_name" should be visible. Each language should has its own entity.
Usage
In specific asset in "Custom Metadata" add predefined metadata from "Localized Assets Bundle" group. Then add values that should be replaced from original name.
So for example if asset has default path /images/tree.jpg on spanish page it will be replaced with /images/bosque.jpg.
It works in documents and data objects also with thumbnails.
Run phpstan and php-cs-fixer
There is prepared a composer script to run both phpstan and php-cs-fixer.
composer fix
统计信息
- 总下载量: 1.08k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2022-07-25

