Answer the question
In order to leave comments, you need to log in
How to structure a MYSQL database on a multilingual site?
Good day to all!
I can’t cope with the task at hand, somewhere I’m sharply stupid!
It is necessary to create a multilingual database in MYSQL (codeigniter)
before the table was written like this (note blog post)
id
title_ru
title_en
short_ru
short_en
...
id
lang
title
short
...
Answer the question
In order to leave comments, you need to log in
In the CMS with which I sometimes work, it is implemented by XML. Fields that do not need to be searched are stored in the content field and parsed through extractvalue. Those. all fields, including multilingual versions. You can also parse already on php or even on the client.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question