macopedia/akeneo-product-translation

Akeneo 的翻译扩展

0.2.2 2022-09-21 08:16 UTC

This package is auto-updated.

Last update: 2024-09-15 15:39:31 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 密钥

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