Rename narrative_fr_FR.properties to narrative_fr.properties.


2007/10/19, ChristopherAngel <[EMAIL PROTECTED]>:
>
>
> I've developed a web app using Struts2 - I need to make it display
> different
> languages based on the locale of the browser but I'm having a little
> difficulty getting it to work.
>
> Here is a cut down version of what I have:
>
> 2 properties files in the default package:
>
> narrative.properties:
> index.welcome=welcome
>
> narrative_fr_FR.properties
> index.welcome=bienvenue
>
> 1 jsp:
>
> <s:i18n name="narrative">
> <s:text name="index.welcome"/>
> </s:i18n>
>
> It only ever displays in English despite changing the browser settings.
>
> When I'm testing this I ask what the locale is in the action and it
> returns
> the correct locale but only ever displays the English version.
>
>
> --
> View this message in context:
> http://www.nabble.com/-Struts-2--Internationalization-tf4653435.html#a13295304
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to