Location: PHPKode > projects > XmlWeblication > weblication/content/articles/doc_translate.xml
<?xml version="1.0" encoding="utf-8"?>

  <article aid="doc_translate">
    <htmltemplate include="article.html"></htmltemplate>
	<contentmenu aid="documentation" />
	<intro>How to use localized strings and HTML templates</intro>
	<author email="hide@address.com">Andi</author>
	<date>Dec 12th 2003</date>
	[@:p]Edit {strong}translate.txt{/strong} to
	define your translations, where the {strong}original{/strong} is found
	on the left and your localized {strong}translation{/strong} on the right.
	{p class=source}{strong}original:translation{br}english:german{br}
	[@:p]You may write [*:english] to display "german" or
	[*:left] to display "links". {font color=red}Replace * with @ {/font}
	[@:p]You may use entries like
	0:[@:lt]p class=header[@:gt]{br}
	1:[@:lt]p class=title[@:gt]{br}
	[@:p]Using this instead of dircet html-tags will make it possible
	to change your output in a central place or using different layouts
	(different layout.txt files) for different clients.
	[@:p]Then you can use eg {strong}[@:((]_@:source[@:))]{/strong} (without the  "_")
Return current item: XmlWeblication