Storing translation data as JSON column

Posted by j0ntech on Programmers See other posts from Programmers or by j0ntech
Published on 2012-03-11T17:28:46Z Indexed on 2012/11/14 17:30 UTC
Read the original article Hit count: 204

We're deciding on how to store translations of some descriptions of database items.

We could go the traditional way and keep a translations table (and a language table and an object_translation linking table) OR we thought it might be better to just have a Description column that contains JSON like the following:

{
     "EN": "This is the translation in English",
     "EE" : "See on kirjeldus eesti keeles"
}

Are there any serious downsides as to why we shouldn't use this? (I haven't seen it being used anywhere else)

© Programmers or respective owner

Related posts about database-design

Related posts about relational-database