Forums / General / Image alt attribute and chinese translation

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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.