[OPEN-ILS-DEV] PATCH: Introduce XUL string bundles for Javascript i18n

Mike Rylander mrylander at gmail.com
Tue Aug 7 11:47:58 EDT 2007


On 8/6/07, Dan Scott <denials at gmail.com> wrote:
> As documented at
> http://developer.mozilla.org/en/docs/XUL_Tutorial:Property_Files ,
> string bundles are the normal method for holding translatable text
> from Javascript files in XULRunner applications. The staff client
> currently does not use string bundles; it currently uses a mix of
> hardcoded strings, with reliance on some of the strings that are
> converted from lang.dtd into the massive hash that is lang.js.
>
> This patch hopes to start changing that, by introducing string bundles
> for a few small parts of the staff client -- hopefully paving the way
> for conversion of more of the client to stringbundles and i18n glory.
>

Patch applied.

<editorializing>
This is a big step, and more than a little scary because of local-file
dependencies.  I'd personally rather see everything become remote,
other than the offline bits, but since I'm not writing the code...

In any case, here's to hoping for an I18N-ized staff client in the
(near-ish?) future!
</editorializing>

-- 
Mike Rylander
Equinox Software, Inc
miker at esilibrary.com
http://esilibrary.com/


More information about the Open-ils-dev mailing list