almaviacx / ibexatranslationuibundle
This bundle allows to import translation files content into the database and provide a GUI to edit translations.
Installs: 9 063
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 2
Open Issues: 0
Type:ibexa-bundle
Requires
- php: ^7.3 || ^8.0
- ibexa/admin-ui: ^4.0
- lexik/translation-bundle: ^6.0
This package is auto-updated.
Last update: 2024-12-01 00:26:26 UTC
README
This repository is what we call a "subtree split": a read-only copy of one directory of the main repository. It is used by Composer to allow developers to depend on specific bundles.
If you want to report or contribute, you should instead open your issue on the main repository: https://github.com/Novactive/Nova-eZPlatform-Bundles
Documentation is available in this repository via .md
files but also packaged here: https://novactive.github.io/Nova-eZPlatform-Bundles/master/2FABundle/README.md.html
This bundle integrate the UI provided by https://github.com/lexik/LexikTranslationBundle/tree/v6.0 into the Ibexa Admin UI.
Installation
Requirements
- Ibexa 4
- PHP 7.3 || 8.0
Use Composer
Add the lib to your composer.json, run composer require almaviacx/ibexatranslationuibundle
to refresh dependencies.
Register the bundle
Then inject the bundle in the config\bundles.php
of your application.
return [ // ... Lexik\Bundle\TranslationBundle\LexikTranslationBundle::class => ['all' => true], AlmaviaCX\Bundle\IbexaTranslationUiBundle\AlmaviaCXIbexaTranslationUiBundle::class => [ 'all'=> true ], ];
Add routes
Make sure you add this route to your routing:
# config/routes.yaml lexik_translation_edition: resource: "@LexikTranslationBundle/Resources/config/routing.yml" prefix: /translations-ui
Configuration
Follow the lexik translation bundle documentation : https://github.com/lexik/LexikTranslationBundle/blob/v6.0/Resources/doc/index.md