velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serge Matveenko <...@i-free.ru>
Subject Re: Multilanguage
Date Thu, 17 Aug 2006 12:25:19 GMT
usualy we set $lang variable for Template and then it looks like:

#if ($lang=='ru')
    <p xml:lang="ru">Привет, мир!</p>
#else
    <p xml:lang="en">Hello, world!</p>
#end

On Чтв, 2006-08-17 at 14:16 +0200, Stefan Lischke wrote:

> Hi,
> 
> My first posting in this group! Thx for being patient ;-)
> 
> I'm interested in experiences from you users, which are using velocity in a
> multilangue environment.
> For exmaple using templates with HTML, with language specific text's between
> the <p>-Tags.
> 
> Thanx in advance
> 
> Stefan
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> 

-- 
Serge Matveenko
mailto:lig@i-free.ru
http://company.i-free.ru
+7 (911) 777 42 44
+7 (905) 22 44 386



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message