I already have a developed system, using several tables in the database. I have to start migrating the same to English and Spanish .
The development part I have an idea already (not total), but I do not know how to leave it in the database.
What I'm thinking of doing:
A produtos
table, for example, has the fields id
and name
. I'm thinking of changing the name
field to name_pt
and add two more fields: name_en
and name_es
.
In this case I will keep the table with the following fields: id
, name_pt
, name_en
, name_es
. I realize that I will also have to change in the system for data entry to have these new input fields, apart from some other points.
I wonder if this is a correct way or if you have some other better way to take care of it?
I do not know if it interferes with anything, but the system is being developed in PHP with CodeIgniter and MySql.