title: Read resources from multiple properties files in Spring
body: <p>I have a spring project. I have created different properties files for different modules and these files are in their respective directories. </p>
  
  <p>For example, in "resources" folder, I have "student" and "teacher" folders. In student folder, I have student_en.properties and in teacher folder, I have teacher_en.properties. Now how do I configure it in spring so that I can get locale specific properties from all files using "ReloadableResourceBundleMessageSource" or any other bean.</p>
  
  <p>Right now, it is -</p>
  
  <pre><code>&lt;bean id="messageSource"
      class="org.springframework.context.support.ReloadableResourceBundleMessageSource"&gt;
      &lt;property name="basenames"
          value="classpath:messages" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>Can I use regex or somehow include property files in all sub-directories of resources folder?</p>