screenmates
Programmer
For creating a multi-langauge app, which is the best appraoch:
a. add a languageId column to primray key
b. add multiple descrirption columns for each language
eg:
original table:
categoryId
description
primary-key approach:
categoryId
languageId
description
multiple description column approach:
categoryId
description_en
description_es
description_ar
description_fr
description_de
description_jp
description_cn
......
...
any better approachs? can give teh design for transalation tables?
a. add a languageId column to primray key
b. add multiple descrirption columns for each language
eg:
original table:
categoryId
description
primary-key approach:
categoryId
languageId
description
multiple description column approach:
categoryId
description_en
description_es
description_ar
description_fr
description_de
description_jp
description_cn
......
...
any better approachs? can give teh design for transalation tables?