Forums / General / Image alt attribute and chinese translation

Image alt attribute and chinese translation

Author Message

Carlos Revillo

Tuesday 11 July 2006 4:53:27 am

Here is a piece of code included in one of my custom templates.

<h1>{'Home'|i18n('home')}</h1>
<img src="home.gif|ezdesign" alt="{'Home'|i18n('home')}" />

Now i'm doing a chinese translation and h1 is translated as expected, but i have strange characters (not chinese) in the alt of the image.

Maybe this is caused by my browser config? Do i have to do something in my browser to see alt and maybe title attributes of a link or a image correctly in chinese?.

thanks.