If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Site with dfferent languages. ERD?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-19-11, 05:18
131313 131313 is offline
Registered User
 
Join Date: Aug 2011
Posts: 4
Site with dfferent languages. ERD?

Im building a website that will be translated into 10 different languages. The database contains alot of attrubutes with text such as book title, book review, book description etc etc.

What is the best sollution for this when it comes to designing the database? Will each attribute have "duplicate" attributes for all the different languages?

Example (sorry for my ugly drawing):

_____
|----|----English_book_title
|Book|
|----|----Spanish_book_title
|____|
Reply With Quote
  #2 (permalink)  
Old 08-19-11, 20:44
BarryWilliams BarryWilliams is offline
Registered User
 
Join Date: Apr 2010
Location: London, England
Posts: 24
Yes, store multiple versions

This Data Model on my Database Answers Web Site shows you a simple example :-
Foreign Language Tournament Listings Data Model

You can see that the Language ID is part of the Primary Key in the Tournaments Details Table, which means that a separate description can be stored for each language.

HTH

Barry Williams
London, England
Reply With Quote
  #3 (permalink)  
Old 08-22-11, 13:48
131313 131313 is offline
Registered User
 
Join Date: Aug 2011
Posts: 4
Thanks alot Barry! Appreciate it!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On