[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Re Sausalito for the Qube 3 - More Questions
- Subject: Re: [cobalt-developers] Re Sausalito for the Qube 3 - More Questions
- From: Tim Hockin <thockin@xxxxxxx>
- Date: Thu Feb 22 18:31:02 2001
- Organization: Sun Microsystems, Inc.
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
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