| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Multilingual table design questions
I've been reading a few posts on multilingual table design. For a
simple table like:
cars = { id, name }
...here are the design approaches I've seen:
So in the light of these examples I am considering another approach. Store the translation of the name field in another field containing XML metada:
cars = { id, name, name_tr }
If the car name is entered in any language, then the translation would
be put in name_trm in XML format:
ex:
name = "volks wagen"
name_tr = "
<en>People's trolley"</en>
<fr>Voiture du peuple</fr>
..."
This way, a browser of my table would quickly see all the cars defined in whatever language the creator of the row used originaly (my web site will be used by int'l users). On a second step, if a translation is required, it can be done by the UI without a second DB hit. Just parse th name_tr field with an xml parser, extract and display the translation using the pref of the user.
The only problem is I don't know the actual language used by the creator of the row.
Anybody has a better approach? Received on Sun Feb 19 2006 - 10:16:17 CST
![]() |
![]() |