Jump to content

Recommended Posts

Dear all,

 

I'm working on an multilingual website, and would like to seek for some suggestions / opinions over the database structure. The current situation is...we are starting up with 4 languages, about 450 products, more languages may be added in the future. So far we came up with 2 database management ideas:

 

1. Select products from 1 product description table, each product to have 4 entries, each in a different language.

2. Select prodcuts from 1 product description table, each prodcut to have 1 entry in a preset language, and then match the result with a translation table to display product info (Such as product name, colors, elements...etc) in different languages.

 

Base on any relevent experience you might have, which option would you suggest? and why? or is there any other way to do it?

 

Thank you!!

 

Best Regards,

AJ

Alright, I was given a third option:

 

3. 1 product description table, each info be inserted in 4 different columns, such as -

columns: id | product_no | product_color_en | product_color_fr | product_color_de | product_color_whatever....

 

Any suggestions?

 

Thank you!

Dear fenway,

 

Thanks for the reply.

 

That was what I figured, however I'm requested to go by the 2nd method - the translation one, and it seems to be the last efficient one. My supervisor was worried that if we go by the duplicate records one, it may overload the MySQL...but personally, I don't think 2000 records (assuming there are 500 products in 4 languages) is too many for a database....well...I don't know~

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.