title: Not able to show i18n messages in spring webflow
body: <p>I am delevoping a web app with Spring MVC 3 and Spring Webflow 2.3.2.</p>
  
  <p>I want to be able to add i18n messages on flow pages. It work ok on non-flow pages. I can switch language and it work ok.</p>
  
  <p>But when user enter in web flow, only default messages are showed.
  I am using <code>&lt;spring:message /&gt;</code> tag.</p>
  
  <p>I have googled that with no success.</p>
  
  <p>This is my app-servlet.xml config:</p>
  
  <pre><code>&lt;mvc:interceptors&gt;
      &lt;bean id="localeChangeInterceptor"
          class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor"&gt;
          &lt;property name="paramName" value="lang" /&gt;
      &lt;/bean&gt;
  &lt;/mvc:interceptors&gt;
  &lt;bean
      class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"&gt;
  &lt;/bean&gt;
  
  &lt;bean id="localeResolver"
      class="org.springframework.web.servlet.i18n.CookieLocaleResolver"&gt;
      &lt;property name="defaultLocale" value="es" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="messageSource"
      class="org.springframework.context.support.ReloadableResourceBundleMessageSource"&gt;
      &lt;property name="basename" value="/WEB-INF/i18n/messages" /&gt;
      &lt;property name="defaultEncoding" value="UTF-8" /&gt;
      &lt;property name="cacheSeconds" value="60"/&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>And this is my webflow.xml config:</p>
  
  <pre><code>&lt;mvc:annotation-driven   /&gt;
  
  &lt;bean class="org.springframework.webflow.mvc.servlet.FlowHandlerMapping"&gt;
      &lt;property name="order" value="-1" /&gt;
      &lt;property name="flowRegistry" ref="flowRegistry" /&gt;
  &lt;/bean&gt;
  
  &lt;!-- Dispatches requests mapped to flows to FlowHandler implementations --&gt;
  &lt;bean class="org.springframework.webflow.mvc.servlet.FlowHandlerAdapter"&gt;
      &lt;property name="flowExecutor" ref="flowExecutor" /&gt;
  &lt;/bean&gt;
  
  &lt;!-- Executes flows: the entry point into the Spring Web Flow system --&gt;
  &lt;webflow:flow-executor id="flowExecutor"&gt;
      &lt;webflow:flow-execution-listeners&gt;
          &lt;webflow:listener ref="securityFlowExecutionListener" /&gt;
      &lt;/webflow:flow-execution-listeners&gt;
  &lt;/webflow:flow-executor&gt;
  
  &lt;!-- The registry of executable flow definitions --&gt;
  &lt;webflow:flow-registry id="flowRegistry"
      base-path="/WEB-INF/jsp" flow-builder-services="flowBuilderServices" &gt;
      &lt;webflow:flow-location-pattern value="/**/*-flow.xml" /&gt;
  &lt;/webflow:flow-registry&gt;
  
  &lt;!-- Plugs in a custom creator for Web Flow views --&gt;
  &lt;webflow:flow-builder-services id="flowBuilderServices" view-factory-creator="mvcViewFactoryCreator" 
      conversion-service="conversionService"
      development="true" validator="validator" /&gt;
  
  &lt;bean id="conversionService" class="com.zxxztech.zecure.services.webflow.ApplicationConversionService"&gt;
      &lt;constructor-arg ref="applicationConversionService" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="applicationConversionService" class="org.springframework.format.support.FormattingConversionServiceFactoryBean" /&gt;
  
  
  &lt;!-- Configures Web Flow to use Tiles to create views for rendering; Tiles allows for applying consistent layouts to your views --&gt;
  &lt;bean id="mvcViewFactoryCreator" class="org.springframework.webflow.mvc.builder.MvcViewFactoryCreator"&gt;
      &lt;property name="viewResolvers" ref="tilesViewResolver"/&gt; 
      &lt;property name="useSpringBeanBinding" value="true" /&gt;
  &lt;/bean&gt;
  
  &lt;!-- Installs a listener to apply Spring Security authorities --&gt;
  &lt;bean id="securityFlowExecutionListener" class="org.springframework.webflow.security.SecurityFlowExecutionListener" /&gt;
  
  &lt;bean id="tilesViewResolver"
      class="org.springframework.web.servlet.view.UrlBasedViewResolver"&gt;
      &lt;property name="requestContextAttribute" value="requestContext " /&gt;
      &lt;property name="viewClass" value="org.springframework.web.servlet.view.tiles3.TilesView" /&gt;
      &lt;property name="order" value="1" /&gt;
      &lt;property name="contentType" value="text/html;charset=UTF-8" /&gt;
  &lt;/bean&gt;
  
  &lt;!-- Configures the Tiles layout system --&gt;
  &lt;bean id="tilesConfigurer"
      class="org.springframework.web.servlet.view.tiles3.TilesConfigurer"&gt;
      &lt;property name="definitions"&gt;
          &lt;list&gt;
              &lt;value&gt;/WEB-INF/jsp/**/views.xml&lt;/value&gt;
          &lt;/list&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  
  &lt;!-- Resolves logical view names returned by Controllers to Tiles; a view 
      name to resolve is treated as the name of a tiles definition --&gt;
  
  
  &lt;!-- Bootstraps JSR-303 validation and exposes it through Spring's Validator 
      interface --&gt;
  &lt;bean id="validator" class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean" /&gt;
  </code></pre>
  
  <p>And this is a fragment of my jsp pages:</p>
  
  <pre><code>&lt;div class="ym-fbox"&gt;
              &lt;label for="correo"&gt; &lt;spring:message
                      code="registro.form.correo.label"
                      text="registro.form.correo.label" /&gt;
              &lt;/label&gt;
              &lt;form:input path="correo" /&gt;
              &lt;form:errors path="correo" cssClass="ym-required" element="span" /&gt;
          &lt;/div&gt;
          &lt;div class="ym-fbox"&gt;
              &lt;label for="nickname"&gt; &lt;spring:message
                      code="registro.form.nickname.label"
                      text="registro.form.nickname.label" /&gt;
              &lt;/label&gt;
              &lt;form:input path="nickname" /&gt;
              &lt;form:errors path="nickname" cssClass="ym-required" element="span" /&gt;
          &lt;/div&gt;
          &lt;div class="ym-fbox"&gt;
              &lt;label for="contrasena"&gt; &lt;spring:message
                      code="registro.form.contrasena.label"
                      text="registro.form.contrasena.label" /&gt;
              &lt;/label&gt;
              &lt;form:password path="contrasena" /&gt;
              &lt;form:errors path="contrasena" cssClass="ym-required" element="span" /&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>Please, help me solve this problem!</p>
  
  <p>Thanks!!!</p>