2π
I have alreay made a project like this. I have used one table with mixed languages, with a column to specify which language it is. I have no problem with this implementation.
An other approach I had thought is to create dynamically a table like content_ and to fill in. But very boring (you have to manage id dependancy with other tables) and not necessary for me.
Have you got a fixed number language ?
π€elhostis
0π
I donβt know really what βs best way.
You can serialize a dictionary, for example save this dic in your database:
{
'en': 'Book',
'ge': 'booch',
...
}
π€Vahid Kharazi
- [Answered ]-How to define Django settings without default DB settings?
- [Answered ]-Django reporting 404 error on simple view?
- [Answered ]-KO: Error when parsing JSON
- [Answered ]-Using django subdomain and it says localhost does not belong to the domain example.com
Source:stackexchange.com