Ich habe mehrere Datentabelle dessen Text in unterschiedlichen Sprachen dargestellt werden sollen.
z.b.
CREATE TABLE IF NOT EXISTS `language` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`created_by` int(11) NOT NULL,
`published` tinyint(1) NOT NULL DEFAULT '1',
`deleted` tinyint(1) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL,
`iso` varchar(255),
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE IF NOT EXISTS `Country` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Die Datenfelder ‘name’ von datatable1
soll sprachabhängig sein. Sprich für Country könnte z.B. das Land für Deutschland ‘Deutschland’, ‘Germany’, ‘Alagmane’ sein.
Wie könnte ich soetwas am besten in einer Datentabelle abbilden?