<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=alvincys" rel="nofollow">Alvin Chee</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7241?redirect=false" rel="nofollow">SPR-7241</a></strong> and commented</p>
<p dir="auto">If current request context is en_US, and no theme_en_US.properties specified (or no key specified in theme_en_US.properties), it should fallback to theme_en.properties, then theme.properties.</p>
<p dir="auto">&lt;bean id="themeSource" class="org.springframework.ui.context.support.ResourceBundleThemeSource"&gt;<br>
&lt;property name="basenamePrefix" value="theme_" /&gt;<br>
&lt;/bean&gt;<br>
&lt;bean id="themeResolver" class="org.springframework.web.servlet.theme.SessionThemeResolver"&gt;<br>
&lt;property name="defaultThemeName" value="en_US"/&gt;<br>
&lt;/bean&gt;</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.5.6</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398105499" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11911" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11911/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11911">#11911</a> ResourceBundleThemeSource should resolve *.properties like ResourceBundleMessageSource (<em><strong>"duplicates"</strong></em>)</li>
</ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=alvincys" rel="nofollow">Alvin Chee</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7252?redirect=false" rel="nofollow">SPR-7252</a></strong> and commented</p>
<p dir="auto">If current request context is en_US, and no theme_en_US.properties specified (or no key specified in theme_en_US.properties), it should fallback to theme_en.properties, then theme.properties.</p>
<p dir="auto">&lt;bean id="themeSource" class="org.springframework.ui.context.support.ResourceBundleThemeSource"&gt;<br>
&lt;property name="basenamePrefix" value="theme_" /&gt;<br>
&lt;/bean&gt;<br>
&lt;bean id="themeResolver" class="org.springframework.web.servlet.theme.SessionThemeResolver"&gt;<br>
&lt;property name="defaultThemeName" value="en_US"/&gt;<br>
&lt;/bean&gt;</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.2</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398105439" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11900" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11900/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11900">#11900</a> ResourceBundleThemeSource should resolve *.properties like ResourceBundleMessageSource (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>