| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: database design question
"danjourno" <danjourno_at_hotmail.com> writes:
> i am having a problem trying to figure out which way to go with adding
> multilingual support to my database.
>
> I am trying to store labels for multiple languages in my DB so I am creating
> a table called labels
> currently I have a table with three columns. One for an index, one for the
> actual label, and one that links to a language ID.
> all index values are in english
>
> index | label | language_id
> ---------------------------------------
> yes yes EN
> yes oui FR
>
> primary key(index, language_id)
>
>
>
> I am thinking that I should actually change this to add more collumns rather
> that rows.
> like below.
>
> index | label_eng | label_fr | label_ch |
> label_etc.......
> -----------------------------------------------------------------------
> yes yes oui ????
> .......
>
> and then continue to add more columns as I add more languages.
>
> ==================
>
> my question is..: is this second option a better option? as far as database
> design goes, taking into account that the size of these label fields may
> come to over 150 chars..?
>
> BTW I am currently using 3.23 but I understand that version 4 supports
> multiple charsets.
> this is one of my reasons for thinking of this change
>
> thanks heaps
>
I think your existing model is better than the new one you propose for two reasons -
Tim
-- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out!Received on Sun Dec 29 2002 - 23:50:53 CST
![]() |
![]() |