[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Re Sausalito for the Qube 3 - More Questions



Boblee wrote:

> $i18n->get("thankYouMessage")
> and
> <?php printf($fontTag, $i18n->get("splashPersonalMessage")); ?>
> 
> sounds like a  good idea, to have these type of messages stored in database,
> or at lest in xml files somewhere...

They are stored in gettext format .mo files - essentially hash tables
stored on disk.

> Not being too familar  with i18,  or what exactally is happening here,  can
> someone point me to where I would find the souce of these messages, so I can
> change them...

The files are stored in their binary hashes in
/usr/share/locale/en/LC_MESSAGES.  We're working on a safe way to make them
editable.  In the mean time, you can certainly put new files there and use
your own i18n domain.

-- 
Tim Hockin
Systems Software Engineer
Sun Microsystems, Cobalt Server Appliances
thockin@xxxxxxx