i am not sur ehow ell gettext works, i have never used it.
but i have seen many db driven solutions.
most are in the form similar to
Table 1: (language)
id in unsigned not null,
language varchar(255) not null,
primary key (id));
Table 2: (phrase)
id int unsigned not null,
languageid int unsigned not null,
phrase text,
primary key (id,languageid));
you might want to take a look at oscommerce and how they do multi lingual support. it's seem pretty straight forward.