Add localization for DataTable components (no records and navigation toolbars)
Add new StringResourceLoader to allow Wicket extensions to provide localization resource bundles
French and English localization
If we add package specific properties in extensions, client applications will no longer be able to override these messages globally in their application.properties. I think the latter is something we should continue to support. WDYT?
You are right. I hadn't thought about that. I guess that's why I didn't see any package specific property files anywhere in Wicket!
Another patch putting text in application.properties. Also modified application_fr.properties to xml format to ease its use with accented chars.
regretfully the application properties won't do it either: We cannot define messages for components from wicket-extensions in wicket-core's application.properties .
I've tried something similar a few months ago with uploadProgress, but had to revert it. Apparently there isn't a solution for this currently.
This is very strange! I am currently using the second patch I proposed and it works just fine.
Is the problem that we don't want to "pollute" wicket-core property bundles with wicket-extensions stuff?
You're right, it works but as you've written it would "pollute" wicket-core with wicket-extensions messages.
What we need is a solution for non-application libraries to be able to contribute global default messages after the client's application properties. Such a feature deserves its own issue.
Good point. Please see WICKET-4162 for the new feature ticket.