piotrmus/akeneo-product-translation

Akeneo 的翻译扩展

0.2.2 2022-09-21 08:16 UTC

This package is auto-updated.

Last update: 2024-09-20 17:43:26 UTC


README

Akeneo 扩展,添加了新的批量编辑类型“翻译属性”。

如何下载和安装连接器

安装 composer 依赖

composer require macopedia/akeneo-product-translation

config/bundles.php 中注册包

return [
    \Macopedia\Translator\MacopediaTranslatorBundle::class => ['dev' => true, 'test' => true, 'prod' => true],
];

.env 文件中定义 Google Cloud Translate API Key

GOOGLE_API_KEY=yourapikey

添加新的作业实例

bin/console akeneo:batch:create-job internal update_product_translations mass_edit update_product_translations '{}' 'Translate product'

功能

使用 Akeneo 产品属性翻译器,您可以执行批量编辑作业,将一个频道和一个地区的多个文本属性翻译为目标频道和目标地区。

扩展使用 Google Cloud Translation API

要求

  • Akeneo PIM >= 4.x