Hello,
  To test internationalization on my struts application I tossed a 
properties file "webapp_de.properties" into the same directory as my 
"webapp.properties". I know that struts is finding "webapp.properties" 
(English/US) as bean:message correctly retrieves the proper labels. If 
I change the preferred language on MacOS 10.2 to German and relaunch 
the browser (Internet Explorer- German set as primary in preferences as 
well) and visit my struts application, the webapp.properties and not 
webapp_de.properties is used. For debugging I put some code into the 
jsp page that would retrieve the country/language from the request. The 
country comes back an empty string with the language being "deu". 
Anyone have any advice as to why my German properties file isn't being 
found/used? Do I need to add anything to web.xml to reference the 
German file? Note, when the 10.2 is in German mode, Google does return 
a German web page. In my jsp page I am following the directions from 
the struts user guide so the encoding should be set correctly.

  Thanks,
  Ryan Cuprak

BTW: I don't speak German, I am using that sherlock translator in 10.2 
- a neat example of a useful webservices! 


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

Reply via email to