Download the PHP package partnermarketing/translation-bundle without Composer
On this page you can find all versions of the php package partnermarketing/translation-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download partnermarketing/translation-bundle
More information about partnermarketing/translation-bundle
Files in partnermarketing/translation-bundle
Package translation-bundle
Short Description A translation component supporting different translation adapters -- by default, OneSky.
License Apache-2.0
Homepage https://github.com/partnermarketing/PartnermarketingTranslationBundle
Informations about the package translation-bundle
TranslationBundle
TranslationBundle is a translation component supporting supporting different translation adapters -- by default, OneSky.
The existing adapters are:
- OneSky
Workflow
When you're developing you should add all translation keys into a file under app/Resources/base-translations
.
When you pull translations those will be placed in Symfony 2 standard directory for translations app/Resources/translations
.
The directory structure should be similar to the one in base-translations
directory, but all files will have
an extension to the name.
e.g.
After translation will become:
How to configure
in your parameters.yml
How to use
See documentation in Symfony 2.
How to push translations
How to pull translations
This will pull all latest translations into app/Resources/translations
.
If base language translations were changed their values will be updated in app/Resources/base-translations
.
How to run tests
Since phpunit
is a dependency you can run tests using: