trekels / translation-bundle
This bundle allows to import translation files content into the database and provide a GUI to edit translations.
Installs: 2 503
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 262
Type:symfony-bundle
Requires
- php: ^5.6 || ^7.0
- symfony/framework-bundle: ~2.8|~3.0|~4.0
Requires (Dev)
- doctrine/data-fixtures: ~1.1
- doctrine/doctrine-bundle: ~1.2
- doctrine/mongodb-odm-bundle: ~3.0
- doctrine/orm: ^2.2.3
- phpunit/phpunit: ^5.7
- propel/propel: @dev
- propel/propel-bundle: ^3.0@dev|^4.0@dev
Suggests
- doctrine/mongodb-odm-bundle: ~3.0
- doctrine/orm: >=2.4
- v4.0.16
- v4.0.15
- v4.0.14
- v4.0.13
- v4.0.12
- v4.0.11
- v4.0.10
- v4.0.9
- v4.0.8
- v4.0.7
- v4.0.6
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- dev-master / 4.x-dev
- v3.1.1
- v3.1.0
- v3.0.0
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.2
- v2.0.1
- v2.0.0
- dev-jqgrid_ui / 1.4.x-dev
- v1.4.5
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.0
- v1.2.0
- v1.1.2
- v1.1.1
- dev-add-paths-config
- dev-profiler_file
- dev-fix_empty_file_profiler
- dev-symfony2.0
This package is auto-updated.
Last update: 2024-11-21 21:04:19 UTC
README
This Symfony bundle allows you to:
- import translation files content into the database and provide a GUI to edit translations.
- export translations from the database into files.
- have an overview to check translation domains are completely translated.
- add new translations in the database.
The idea is to:
- write your translations files (xliff, yml or php) as usual for at least one language (the default language of your website for example).
- load translations into the database by using a command line.
- freely edit/add translation through an edition page.
The bundle overrides the translator service and provides a DatabaseLoader. Database translations content is loaded last so it overrides content from xliff, yml and php translations files. You can also export translations from the database into files in case you need to get translations files with the same content as the database.
Documentation
For installation and configuration refer to Resources/doc/index.md
Here is a little screen shot of the edition page :)