basilicom/pimcore-field-translator-bundle

一个用于为Pimcore后端字段提供翻译辅助程序的Pimcore组件。

v0.1.2 2021-01-08 08:09 UTC

README

用例/摘要

翻译组件将自动扩展Pimcore的本地化字段。
为了翻译字段,在查看数据对象中的字段时,将获得一个额外的“翻译”选项。

每种翻译都需要手动为每种语言和字段触发。这将在不久的将来得到优化。

安装

  1. 使用 composer require basilicom/field-translator-bundle 安装组件
  2. 执行 bin/console pimcore:bundle:enable BasilicomFieldTranslatorBundle

配置

您可以根据以下方式配置翻译策略

basilicom_field_translator:
  strategy: "DeepL" # available GoogleTranslate|DeepL
  config:
    apiKey: "<- the API key->"

作者: Alexander Heidrich (Basilicom GmbH)
许可: GPL v3