<snip />

Well, I'll need this soon :-). I was thinking of some sort of grep
shellscript stuff, but this could be achieved with some java classes
using regular expressions too.

here you get a problem with regex when you have sth. like this:
<input type="submit" name="myname" value="mykey" i18n:attr="value" />

Best would be to enable I18N Transformer to log the missing translations.

The transformer logs (warn) untranslated keys:

---snip---
getLogger().warn("Translation not found for attribute " +
name + " in element <" + element + ">");
---snap---
<snip />

Hm, yep, you're right. Still I don't like the idea of not being able to detect those problems at deploy time...

Maybe it's possible to create some sort of file crawler, that applies the I18N transformer to the files when deploying ?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to