ntriga / pimcore-gpt-translations
Use Chat GPT in your Pimcore project to translate documents and objects.
11.0.1
2024-07-02 10:22 UTC
Requires
- php: ^8.1
- openai-php/symfony: ^0.10.0
- pimcore/pimcore: ^11.2
- dev-main
- 11.0.1
- dev-dependabot/composer/symfony/security-http-6.4.15
- dev-dependabot/composer/symfony/http-client-7.1.8
- dev-dependabot/composer/symfony/http-foundation-6.4.14
- dev-dependabot/composer/symfony/process-6.4.14
- dev-dependabot/composer/symfony/validator-6.4.14
- dev-dependabot/composer/symfony/security-bundle-6.4.13
This package is auto-updated.
Last update: 2025-02-13 19:13:00 UTC
README
Use GPT to translate in Pimcore
Features
- Objects: Translate your objects' fields into multiple languages.
Dependencies
Installation
You can install the package via composer:
composer require ntriga/pimcore-gpt-translations
Add Bundle to bundles.php
:
return [ OpenAI\Symfony\OpenAIBundle::class => ['all' => true], Ntriga\PimcoreGPTTranslations\PimcoreGPTTranslationsBundle::class => ['all' => true], ];
Add your GPT API key to your .env.local
file:
OPENAI_API_KEY=sk-you-openai-api-key
Default configuration
Default configuration for the bundle can look like this:
parameters: gtp_translations_source_lang: 'nl' gtp_translations_target_langs: - 'fr'
Further configuration
For more information about the setup, check Setup
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
GNU General Public License version 3 (GPLv3). Please see License File for more information.