diff --git a/pms-nz/object-translation-bundle/1.0/config/packages/pmsnz_object_translation.yaml b/pms-nz/object-translation-bundle/1.0/config/packages/pmsnz_object_translation.yaml new file mode 100644 index 00000000..09767a40 --- /dev/null +++ b/pms-nz/object-translation-bundle/1.0/config/packages/pmsnz_object_translation.yaml @@ -0,0 +1,4 @@ +pms-nz_object_translation: + # Change the following class name to that of your entity which stores your translations + translation_class: App\Entity\Translation + diff --git a/pms-nz/object-translation-bundle/1.0/manifest.json b/pms-nz/object-translation-bundle/1.0/manifest.json new file mode 100644 index 00000000..cedf503b --- /dev/null +++ b/pms-nz/object-translation-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "PmsNz\\ObjectTranslationBundle\\ObjectTranslationBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/pms-nz/object-translation-bundle/1.0/post-install.txt b/pms-nz/object-translation-bundle/1.0/post-install.txt new file mode 100644 index 00000000..3e28cd72 --- /dev/null +++ b/pms-nz/object-translation-bundle/1.0/post-install.txt @@ -0,0 +1,10 @@ +* You're almost ready to use pms-nz/object-translation-bundle! + +* First, use the console command make:entity create a new entity which where your translations will be stored, e.g. Translation. + +* Next, extend this class with PmsNz\ObjectTranslationBundle\Model\AbstractTranslation. + +* Next, use the console commands make:migration and doctrine:migrations:migrate to create a table in your database where translation will be stored. + +* Next, +* Read the documentation at https://github.com/pms-nz/object-translation-bundle