From: "Bruno Dumon" <[EMAIL PROTECTED]>

> Hi,
>
> we are looking at extending the I18nTransformer so that it can use
> multiple resource bundles at the same time. Thus, when it looks up a
> key, it should check multiple different bundles for this key.

Great!
This was for a very long time in the i18n ToDo list.

>
> Our idea is to simply pass multiple bundle names/locations to the
> I18nTransformer, and it would check them one by one until the value is
> found.
>
> A possible alternative would be that the bundle to be used is specified
> explicitely when retrieving the key, e.g.
> <i18n:text bundle="mybundle">key</i18n:text>
> (and we'd also need a syntax for attributes)

Both possibilities would be fine.
As for the attributes syntax what about this:
<input name="Submit" i18n:attr="name" i18n:bundle="mybundle">. This will
limit to a single bundle, or maybe use namespaces:
<input name="Submit" value="dynamic" i18n:attr="mybundle:name other:value">?

>
> Thoughts?

Above ;)

Konstantin
>
> --
> Bruno Dumon                             http://outerthought.org/
> Outerthought - Open Source, Java & XML Competence Support Center
> [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to