Files
symfony-flex-recipes-contrib/pms-nz.object-translation-bundle.1.0.json
T
github-action[bot]andgithub-action[bot] 2cfece00a5 Update Flex endpoint
2026-01-07 00:00:40 +00:00

42 lines
1.9 KiB
JSON

{
"manifests": {
"pms-nz/object-translation-bundle": {
"manifest": {
"bundles": {
"PmsNz\\ObjectTranslationBundle\\ObjectTranslationBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"post-install-output": [
"* You're almost ready to use pms-nz/object-translation-bundle!",
"",
"* First, use the console command <comment>make:entity</comment> create a new entity which where your translations will be stored, e.g. Translation.",
"",
"* Next, extend this class with <comment>PmsNz\\ObjectTranslationBundle\\Model\\AbstractTranslation</comment>.",
"",
"* Next, use the console commands <comment>make:migration</comment> and <comment>doctrine:migrations:migrate</comment> to create a table in your database where translation will be stored.",
"",
"* Next,",
"* <fg=blue>Read</> the documentation at <comment>https://github.com/pms-nz/object-translation-bundle</>"
]
},
"files": {
"config/packages/pmsnz_object_translation.yaml": {
"contents": [
"pms-nz_object_translation:",
" # Change the following class name to that of your entity which stores your translations",
" translation_class: App\\Entity\\Translation",
"",
""
],
"executable": false
}
},
"ref": "0d68dfba0fc71901e9d5b95606f1de038300a64f"
}
}
}