But what do you do each time you add a new language, say German? you need to update the database structure adding a new column? Surely any solution should be generic enough not to need that.
Unfortunately you would need the table to look something more like: key language value ------------ -------- ---------------- global.title en Something global.title fr quelque chose but that will get huge in no time at all! and I doubt that performance would be too good. -----Original Message----- From: James Mitchell [mailto:[EMAIL PROTECTED]] > -----Original Message----- > From: Eddie Bush [mailto:[EMAIL PROTECTED]] > > James Mitchell wrote: > > >Sorry guys... for not responding earlier. > > > <super-mega-snip/> > > Sorry I should have filled you in, James. I forwarded him the relevant > part of your discussion. > > >Also, I'm not sure how many passes I would make over the list, > you certainly > >wouldn't want a circular reference. > > > <snip> > > Since we're talking about a database here: > > Yes, you'd want to avoid circular references. However, I wouldn't think > it would take more than a single pass through the view to churn out all > of your resources. If you used the key as ... *drum roll* ... the key, > you could just look it up out of the database. That's just my initial > impression ... Well, I was thinking something more abstract. You shouldn't rely on being able to have a key (in the JDBC sense). After all, the storage might be a single table like this: key en en_US fr --------- ------- ---------- -------------- global.title Something (null) quelque chose ...or it could be a very complicated structure based off of a "previously data driven ASP site" with a simple view giving you your info. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

