From: "Bruno Dumon" <[EMAIL PROTECTED]> > On Thu, 2003-06-05 at 09:17, Konstantin Piroumian wrote: > [...] > > > > Hm... Maybe we can change that behavior to be this: > > - look for translation in the specified catalogue, if not found > > - look for it in the default catalogue > > > > What others think which is the most useful approach for key-not-found > > fallbacks? > > The above would still not cover the needs of Fernando. I think we would > rather need a concept of "metabundles" which are the combination of > multiple bundles that are searched in the order as described by > Fernando.
Yes, something like that. Probably, it would be easy to extend/implement a BundleFactory which will look for bundles in specified order (even without using locale, but some other catalogue selection algorythm/hierarchy). This will make I18nTransformer something more than just i18n transformer. It could be used for customization and personalization of contents and maybe something more than. -- Konstantin > > -- > Bruno Dumon http://outerthought.org/ > Outerthought - Open Source, Java & XML Competence Support Center > [EMAIL PROTECTED] [EMAIL PROTECTED] > >