Hi again

I put everything under WEB-INF/i18n and updated my xml files accordingly.
now all I get when I look at the page is "???en_US.app.name???"
Why is that?

Den 6/27/2006, skrev "Fredrik Andersson" <[EMAIL PROTECTED]>:

>Hi
>
>Yeah they files all contain the app.name=(Language name for testing)
>ApplicationResources.properties
>ApplicationResources_sv.properties
>ApplicationResources_no.properties
>
>So you are saying that I should make a folder and put it under WEB-INF/
>and place the files there? Or how do you mean by package?
>
>Also where do I tell struts if I want sv, no or the ordinary
>ApplicationResources file? Will struts fall back on the
>ApplicationResources.properties file as default?
>
>Den 6/27/2006, skrev "Eider Iturbe" <[EMAIL PROTECTED]>:
>
>Hi!
>
>The ApplicationResources.properties file is usually inside source part,
>and
>not in Web Content part. For example, you can create a package called
>"i18n"
>and then you can save the ApplicationResources.properties file there.
>Then,
>you have to set this in struts-config.xml:
>
><message-resources parameter="i18n.ApplicationResources" null="false"
>/>
>
>Another question, is the app.name key defined in the
>ApplicationResource.properties file???
>
>
>--
>Eider
>
>
>On 6/27/06, Fredrik Andersson <[EMAIL PROTECTED]> wrote:
>>
>> Hi all
>>
>> I'm quite new to struts and is trying to implement an Language
>> internalization on some jsp pages.
>>
>> I have my ApplicationResources.properties files inside my WEB-INF folder
>> and in all my struts-config files I have added the
>> <message-resources parameter="ApplicationResources" null="false" />
>> tag.
>> The web.xml was extended with the following.
>> <taglib>
>> <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
>> <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
>> </taglib>
>> And I have put the struts-bean.tld file inside my WEB-INF folder.
>>
>> now when I point my browser to my page I get a "Missing message for key
>> "app.name" "
>>
>> Any help or pointers is greatly appreciated.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to