translate static link - closed

Author Message

scrieler _

Wednesday 09 April 2008 2:23:09 am

heya, i wanna translate a static link,
if language == ger => echo Impressum else => echo Imprint

dont know how, thanks for help

Maxime Thomas

Wednesday 09 April 2008 11:42:35 pm

Hi.

If it's a static link, you may put it in some content and then translate the content.
The link attribute type provide the mecanism you need to translate links.

Greetings.

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

scrieler _

Thursday 10 April 2008 1:46:35 am

no, I wanna translate a link hardcoded in the pagelayout.tpl
to do that, i have to code a if else, i think.
but i dont know how.

Maxime Thomas

Thursday 10 April 2008 11:30:34 pm

You may use the i18n operator and edit your xml translation file.
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/template_operators/formatting_and_internationalization/i18n

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

scrieler _

Friday 11 April 2008 3:07:33 am

great! big thx to u!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.