This only registers the default locations, not the one users can provide via 'spring.messages.basename'. This is similar to the approach taken for schema.sql and data.sql in class SqlInitializationScriptsRuntimeHints. See gh-36682