You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Dan Kha <da...@YorkU.CA> on 2001/11/14 21:52:10 UTC

Intake and localization

Hi,

I know some of us on this list have used Turbine's localization service to
support multiple languages in their webapp.  But has anyone also used
Intake such that the failed form validation errors are also locale
specific (i.e. french error message if local is fr-ca, and english if
locale is en-ca)?

Does anyone have quick ideas how this would be best done?

Thanks in advance for any thoughts.

Dan


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Intake and localization

Posted by John McNally <jm...@collab.net>.
Just give the resource key in the intake xml file.  Then in your
template:

$l10n.get($intake.SomeGroup.SomeField.Message)

the above example is off the top of my head, sorry if it is not perfect
form, but it should give the idea.  

john mcnally

Dan Kha wrote:
> 
> Hi,
> 
> I know some of us on this list have used Turbine's localization service to
> support multiple languages in their webapp.  But has anyone also used
> Intake such that the failed form validation errors are also locale
> specific (i.e. french error message if local is fr-ca, and english if
> locale is en-ca)?
> 
> Does anyone have quick ideas how this would be best done?
> 
> Thanks in advance for any thoughts.
> 
> Dan
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>