I am trying to implement a multilanguage system and I came across a topic on stackoverflow that I didnt get the idea.
The full question can be found here
The option 3 in the question, It has a structure like below
CREATE TABLE T_PRODUCT (
NAME_FK int,
DESCRIPTION_FK int,
PRICE NUMBER(18, 2)
)
CREATE TABLE T_TRANSLATION (
TRANSLATION_ID
)
CREATE TABLE T_TRANSLATION_ENTRY (
TRANSLATION_FK,
LANGUAGE_FK,
TRANSLATED_TEXT NTEXT
)
CREATE TABLE T_TRANSLATION_LANGUAGE (
LANGUAGE_ID,
LANGUAGE_CODE CHAR(2)
)
But I didnt get the idea why we need T_TRANSLATION
table. What is the job of it ? This question has been asked some comments too, but they did not get an answer on that question.
How to INSERT and SELECT Products by this approach ?