Friday 29 June 2007 9:12:46 pm
I establish a <b>multilingual site</b> with <b>eZ Publish 3.9.2</b>. The languages are <b>Chinese</b> and <b>English</b> and the <b>Chinese</b> is the default language. But I find that the vocabulary entries such as "<b>Tip a friend</b>", "<b>Search</b>", "<b>View as slideshow</b>", "<b>Add comment</b>", ..., and "<b>New comment</b>" are displayed as English other than Chinese. For example, I search "<b>New comment</b>" within all the files. In <i>./design/base/override/templates/full/weblog.tpl</i>
<div class="content-action">
<form method="post" action={"content/action"|ezurl}>
<input type="hidden" name="ClassIdentifier" value="comment" />
<input type="hidden" name="NodeID" value="{$node.node_id}" />
<input class="button new_comment" type="submit" name="NewButton" value="{'New comment'|i18n("design/base")}" />
</form>
</div>
In <i>./share/translations/chi-CN/translation.ts</i>
<context>
<name>design/base</name>
......
<message>
<source>New comment</source>
<translation>еÄÆÀÂÛ</translation>
</message>
......
</context>
(The translation above is right!) In <i>./share/translations/untranslated/translation.ts</i> there are two code sections related "<b>New comment</b>".
<context>
<name>design/base</name>
......
<message>
<source>New comment</source>
<translation type="unfinished"></translation>
</message>
......
</context>
<context>
<name>design/weblog/layout</name>
......
<message>
<source>New comment</source>
<translation type="obsolete"></translation>
</message>
......
</context>
Need I modify some settings? Thanks! OnlyBlue
☆..·°∴°.☆°°.☆°.
°∴ °☆ .·enjoy star° .·★°∴°
∴°.°★ .·°
ミ☆°∴°.★☆° ∴·°
°.☆° .·∴°
Is it a pleasure after all to practice in due time what one has learnt?
|