Hi Jeroen,

Yes, this is supported (though I must admit I haven't tried it out recently). It is done using "facet decorators", that replace or wrap the NamedFacet (corresponding to @Named facet) that is in the metamodel.

The facet decorator you should use is the I18n facet decorator





fyi,



On 04/01/2011 13:04, Jeroen van der Wal wrote:
We're looking to use Isis in a multi language environment. Therefore
annotations like @Named, @Plural and @DescribedAs could have different
descriptions depending on the language being set. Is there a pattern
available to accomplish this? In regular Java code we use the
gettext-commons library.

Thanks,

Reply via email to