Status: Evaluating bids

Translations Doctrine Extension [Zend Framework 2 - Zf2]

Project details:
Budget: Open
Published: 2 years ago
Deadline: 30 days
Bids: 0
Interested freelancers: 0

Skills required: IT & Programming Zend

Description:
Short Description
---
The idea of this post job is create an extension or module to extend Doctrine and be able to do translations with a different way of Doctrine Gedmo Extension does.
Table Examples
---
album (id, type)
album_lang (id_album, id_lang, name, desc)
lang (id, name)
Description
---
-Having this three tables I would like to manage that with doctrine using annotations.
-We can see we have a table album with the no translatable fields and then we have another one called album_lang with the translatable fields and both id's.
-Adding an annotation on the entity like
@Gedmo\TranslationEntity -- To let doctrine know this entity has translations
doctrine should be able to know where is the translations table and get the fields.
-In a configuration file we should be able to add the suffix string (Ej. _lang) to let doctrine recognise the translations table and the lang table where the languages are.
-Adding an annotation like
@Gedmo\Translatable
on the field doctrine will know that this field will be translatable.
-LIST: Should be able to say to doctrine the lang id and get albums with the translations that correspond to that id.
-VIEW: Should be able to say the lang id or not and give as the object with the translations or no depending if we are sending the id. In case we don't send the lang id Doctrine will provide the object and inside of name an array with the different languages names.
-FORM: Be able to manage the translations in the form.
FINALLY
---
Should be efficient and with not to much loops...
Do you need more information about this project?

Create your own project

Are you looking for a freelancer to work on a similar project? Create your own project and you'll receive proposals from the best freelancers.

Create a similar project

Client:

Jordi V.
(Rating 0.00 out of 5)
Location: España
To find out more about this client, login to Workana.
Loading...