You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Пламен Узунов <pu...@gmail.com> on 2009/12/21 15:05:15 UTC

struts2 internationalization in html attributes

Help!

I need to internationalize some attribure in html when using struts 2.
An example a 'title' or 'alt' of 'img' tag. Or 'keywords', 'description'
attributes of 'meta' tag. This issue is helpful for SEO of web project.i


Regards,
Plamen Uzunov

Re: struts2 internationalization in html attributes

Posted by Пламен Узунов <pu...@gmail.com>.
Thanks Lukasz!

On Mon, Dec 21, 2009 at 4:24 PM, Lukasz Lenart <lukasz.lenart@googlemail.com
> wrote:

> 2009/12/21 Пламен Узунов <pu...@gmail.com>:
> > I need to internationalize some attribure in html when using struts 2.
> > An example a 'title' or 'alt' of 'img' tag. Or 'keywords', 'description'
> > attributes of 'meta' tag. This issue is helpful for SEO of web project.i
>
> <img src='<s:text name="src.key"/>' alt="<s:text name='alt.key'/>">
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Пламен Узунов,
М-Тел: 088/8869066,
puzunoff@gmail.com,
webmaster@bgprinter.com.

Re: struts2 internationalization in html attributes

Posted by Lukasz Lenart <lu...@googlemail.com>.
2009/12/21 Пламен Узунов <pu...@gmail.com>:
> I need to internationalize some attribure in html when using struts 2.
> An example a 'title' or 'alt' of 'img' tag. Or 'keywords', 'description'
> attributes of 'meta' tag. This issue is helpful for SEO of web project.i

<img src='<s:text name="src.key"/>' alt="<s:text name='alt.key'/>">


Regards
-- 
Lukasz
http://www.lenart.org.pl/

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