teamneusta/pimcore-translation-migration-bundle
not-reviewed
No Category
Detailsteamneusta/pimcore-translation-migration-bundle
No Category
Project Summary
Readme
Pimcore Translation Migration Bundle
This bundle combines the advantages of Symfony translation files and translations in the Pimcore admin backend.
This bundle reads standard symfony translation files and migrates them to Pimcore translations. Changed Pimcore translations are not overwritten (compared creationDate
and modificationDate
).
Installation
Require via Composer
composer require teamneusta/pimcore-translation-migration-bundle
Enable the bundle via the Symfony Bundle System.
// config/bundles.php
return [
...
Neusta\Pimcore\TranslationMigrationBundle\NeustaPimcoreTranslationMigrationBundle::class => ['all' => true],
];
Usage
This bundle provides a Symfony command that just executes the migration.
bin/console neusta:translations:migrate
For an example of how to use it, look at the documentation.
Configuration
There is no configuration available.
Contribution
Feel free to open issues for any bug, feature request, or other ideas.
Please remember to create an issue before creating large pull requests.
Running tests for development
./run-tests.sh
Only supported on Linux.
Further development
Pipelines will tell you, when code does not meet our standards. To use the same tools in local development, take the Docker command from above with other scripts from the composer.json
. For example:
- cs:check
- phpstan
docker run -it --rm -v $(pwd):/app -w /app pimcore/pimcore:PHP8.1-cli composer install --ignore-platform-reqs
docker run -it --rm -v $(pwd):/app -w /app pimcore/pimcore:PHP8.1-cli composer <composer-script>
Only supported on Linux.