You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2013/11/20 09:25:25 UTC
[jira] [Closed] (WW-4248) HelloWorld.jsp internalization doesnt
work in spanish cultures
[ https://issues.apache.org/jira/browse/WW-4248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart closed WW-4248.
-----------------------------
Resolution: Won't Fix
Assignee: Lukasz Lenart
It's true also for all other cultures than english-speaking so it doesn't make sense to put such note as I will have to do it for each of them.
In Java there is a notion about default bundle (e.g. package.properties) which corresponds to default Locale on machine. So it must be always adjusted to default Locale used on target machine.
> HelloWorld.jsp internalization doesnt work in spanish cultures
> --------------------------------------------------------------
>
> Key: WW-4248
> URL: https://issues.apache.org/jira/browse/WW-4248
> Project: Struts 2
> Issue Type: Bug
> Reporter: checo
> Assignee: Lukasz Lenart
> Priority: Minor
>
> In struts2-archetype-blank, for spanish cultures(im mexican) the HelloWorld.jsp internalization doesnt work as expected. Initially the HelloWorld.jsp appears in spanish, and when clicking on "english" still shows messages in spanish.
> HelloWorld.jsp should have a note like:
> NOTE: For spanish-speaking cultures, internalization properties files have to be renamed:
> package.properties -> package_en.properties
> package_es.properties -> package.properties
--
This message was sent by Atlassian JIRA
(v6.1#6144)