i want to build a multi-language site (Chinese and English). From the documentation, I know I should install the Internationalization module, so i installed it, but there are some parts on my site that are not translated.
There are some parts as the following in every page (the Chinese version):
<h1><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>">测试公司</a></h1>
How do I translate 测试公司 when English is the set language?
On every page's top right part, there are some parts as the following:
<div id="topnav"> <a href="#" onclick="return setHomepage();">设为首页 |</a><a href="#" onclick="return addCookie();"> 添加收藏 |</a><a href="http://example.com/" class="zh"> 简体中文</a><a href="http://example.com/en" class="en"> English</a> </div>
How do I translate 设为首页, 添加收藏 and 简体中文 to English, when the user access http://example.com/en?
I know I can put that content in a block, then translate it, but it's too weird.
Is there a simple way to get that?
ps: why this one that i can't translate(english-->chinese)? the code is used to alter the conntact form . $form['mail'] = array( '#title' => t('E-mail'), '#type' => 'textfield', .
when i searched the E-mail
in the translate interface, i can't find it,but when i changed E-mail
to test
. then i can search it. why? thank you.