Jump to content

Multiple Langauges in Database?


random1

Recommended Posts

Hi All,

 

I'm currently working on a mysql database that has support for a shopping cart.

 

I have set it up to use utf-8 as the character encoding and have that working fine.

 

Currently I have a table called 'language' that lists the languages in the database:

 

1) English

2) German

3) French

4) Korean

...

 

I also have two main tables set up 'product' and 'service'.

 

I'd like to set it up as the following:

 

"Products, services can have multiple names, descriptions, prices, weights etc (depending on langauge)"

 

Is the best way I should approach this to have multiples of products in the product table and have a different 'language_id' in that table?

 

Does mysql have any specific support for multiple language content?

Link to comment
https://forums.phpfreaks.com/topic/151168-multiple-langauges-in-database/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.