We have a custom maven plugin aggregating multiple properties file into one per language. It checks and display (does not fail the build) if the number of keys is different. I will try to see if it can be open sourced soon if someone is interested in it.
__ Cedric Gatay (@Cedric_Gatay <http://twitter.com/Cedric_Gatay>) http://code-troopers.com | http://www.bloggure.info | http://cedric.gatay.fr On Wed, Jul 31, 2013 at 5:59 PM, Paul Bors <[email protected]> wrote: > We have unit tests that load the master lang pack (the development one) and > compare it key by key to all of the other language packs making sure that: > * It has all the necessary keys > * Parameters in values are not missing > * All values are translated (with different exceptions per lang pack) > Etc. > > It would be nice if such a tool existed as part of the core wicket app or > extensions but it really depends on how your app maintains them. For > example, we choose to maintain a single lang pack in a huge file in XML > format to make it easier to pass it on to the translators instead of using > many smaller files per page or panel. > > ~ Thank you, > Paul Bors > > -----Original Message----- > From: Tom Norton [mailto:[email protected]] > Sent: Wednesday, July 31, 2013 11:45 AM > To: [email protected] > Subject: Wicket Content Parameters > > We just received our content back from our translators. They translated > everything correctly for our velocity templates. However, when they > translated our wicket content, they also translated the parameters (one > translator even replaced the curly braces with parentheses). > > Does anyone know it it's possible to use the ${...} syntax for content > parameters instead of {...}? I ask because most translators already know > to > steer clear of the ${...} syntax, since it's the de facto syntax for > parameters embedded into strings. > > Thanks, > Tom > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
