Hi Erik, Wicket does fall back to the default *file* but what about the case where you have one (or more) large properties file(s) for your default language and you want to create a variation in which you want to change just a few words for instance to make them more domain specific? In that case I would like a way to override just those few domain specific terms, ie an additional .properties file for that variation containing only the deviating terms instead of a copy of the original with just a few changes. Is there a wicket way to implement that?
Regards, Wilko Erik van Oosten wrote: > > It already does work like that. > http://cwiki.apache.org/WICKET/i18n-and-resource-bundles.html > > Regards, > Erik. > > > dukejansen wrote: >> Right now, if I have a localized property file (e.g. >> Welcome_de.properties), >> it seems I must have all resource keys defined in it. >> >> I would prefer to have the localizer be smart enough to fallback to the >> default properties file (e.g. Welcome.properties) if a property is not >> present in the localized property file. >> >> This would make it possible to add properties to the system and not have >> to >> translate them all immediately - let it fall back to the default language >> until someone gets around to translating it. >> >> Does Wicket have this easily configurable, or do I need to roll my own >> resource resolvers or other classes for this purpose? >> > > -- > Erik van Oosten > http://day-to-day-stuff.blogspot.com/ > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/localized-resource-property-file---fallback-to-default--tf3493032.html#a9891947 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user