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 2014/03/06 22:27:42 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13923086#comment-13923086 ] 

Lukasz Lenart commented on WW-4248:
-----------------------------------

Do you think such note is good enough?
{noformat}
I18N:
=====
Please note that this project was created with assumption it will be launched in environment
where default locale is set to English. Thus means the default messages defined in package.properties
are in English. If your default locale is different (on server), renames package.properties file
to package_en.properties and create new package.properties with proper labels for your environment.
{noformat}

> 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
>             Fix For: 2.3.17
>
>
> 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.2#6252)