The closest I saw to compile time checking of resource packages in Java is cal10n , but this is quite a bit of a boiler plate in and still does not check the correct number of arguments. This simply ensures that the keys are truly present.
Perhaps the best way is to create a simple DSL using Scala? I think this may allow your non-programmers to write message packages that seem simple but are compilers that can be checked by scala.
source share