FBDevCLagos / hiddenwisdom-api

7 stars 2 forks source link

Creating proverbs translations #45

Open sofiengwin opened 8 years ago

sofiengwin commented 8 years ago

The current implementation of translations uses globalize gem. We want to be able to create a new translation for all translations in the translations array.

{"proverb":{ "body": "Proverb body", "langunage": "english", "tags": ["widom", "life", "opportunity"], "translations": [ {"body": "Yoruba proverb", "langunage": "yoruba" }, {"body": "Igbo proverb", "language": "igbo" } ] }}

Create a new translation for each translation in the translations array.