velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carfield Yim <carfi...@carfield.com.hk>
Subject Re: How to Internationalize the text in a velocity template?
Date Thu, 15 Dec 2005 16:54:11 GMT
For me, just simple press the resourcebundle as the parameter

On 12/15/05, Rakesh Reddy <aimreddy@yahoo.com> wrote:
> Hi Group --
>
>     I am new to use the velociity framework. How do we Internationalize the textx in
a velocity template ?
>
> For example, if I have the following template.
>
> ###############################
> The following students must be required to attend the Gelogy Class:
> #foreach ($name in $list)
>   $name should attend Geology
> end
> ###############################
>
> Now in the above example how do I make the text "The following students must be required
to attend the Gelogy Class:" a label.
>
> label.student.instruction=The following students must be required to attend the Gelogy
Class:
>
> How I do use this label in the velocity template ? To do this do we need to do any special
processing in the velocity template processor.
>
> Thanks
> Rakesh
>
>
>
>
> ---------------------------------
> Yahoo! Shopping
>  Find Great Deals on Holiday Gifts at Yahoo! Shopping
>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message