Try a different path, not in META-INF, and not in one of the special folders
(pages, components, mixins, etc). There’s a lot of behind-the-scenes stuff
going on with META-INF/assets which might be interfering. For example:
http://jumpstart.doublenegative.com.au/jumpstart7/examples/input/contributingtranslators
Geoff
> On 28 Sep 2015, at 5:49 pm, Charlouze <[email protected]> wrote:
>
> Hello tapestry users,
>
> I have a problem that I can't figure ou what it is.
>
> I'm contributing to the ComponentMessagesSource from a component library :
>
>
>
> *public static void contributeComponentMessagesSource(final
> OrderedConfiguration<Resource>
> configuration, @Path("classpath:META-INF/assets/catalogs/request.properties")
> final
> Resource requestCatalog) { configuration.add("request",
> requestCatalog);}*
>
> As you see i have a file located at
> *META-INF/assets/catalogs/request.properties* in my classpath. I also have
> the localized one for french locale (*request_fr.properties*) in the same
> folder.
>
> When I use the Messages service with a propertie written in those files, it
> doesn't get translated.
>
> Does someone already had that issue ?
>
> Thanks in advance for your help.
>
> Regards,
> Charles
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]