Message Facility is able to generate XML resources from the messages you defined in Java source code, just when compiling your source code.
And these generated XML resources then be further used as the origin for localizations.
Message Facility will automatically generate XML resources on java compilation.
The generated XML resources can then be localized for various locales.