Re: key not found using internationalization

2006-06-27 Thread Fredrik Andersson
I manage to get it working, thanks :) Den 6/27/2006, skrev "Fredrik Andersson" <[EMAIL PROTECTED]>: >Ok, so after deployment tomcat will look for the files inside my class >dir? > >It have tried it that way and still get Null returned from the >bean:message tag. i18n now resides under my class di

Re: key not found using internationalization

2006-06-27 Thread Fredrik Andersson
Ok, so after deployment tomcat will look for the files inside my class dir? It have tried it that way and still get Null returned from the bean:message tag. i18n now resides under my class dir and I have set the parameter accordingly. Anything more I can do to solve this? Den 6/27/2006, skrev "E

Fwd: Re: key not found using internationalization

2006-06-27 Thread Fredrik Andersson
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

Re: key not found using internationalization

2006-06-27 Thread Eider Iturbe
Hi again! When I said that ApplicationResources.properties file is usually located in source part, I meant that you should put it where you've put the other .java and their packages. You can use another package, separated from the other .java files, called for example "i18n". You can define the

Re: key not found using internationalization

2006-06-27 Thread Fredrik Andersson
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

Re: key not found using internationalization

2006-06-27 Thread Fredrik Andersson
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 pa

Re: key not found using internationalization

2006-06-27 Thread Eider Iturbe
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: Another question,