Login   Register  
PHP Classes
elePHPant
Icontem

File: uk_example.php.xml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Julien PACHET  >  i18n  >  uk_example.php.xml  >  Download  
File: uk_example.php.xml
Role: Auxiliary data
Content type: text/plain
Description: xml text in english
Class: i18n
Get translations texts from XML files
Author: By
Last change:
Date: 2005-09-16 08:02
Size: 539 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="ISO8859-1" ?>
<texts>
	<title>Example of use of i18n class</title>
	<body>
		<simple_text>This a sentence from the xml file</simple_text>
		<param_text>This sentence have 2 param values: $1 and $2</param_text>
		<tab>
			<tab1><![CDATA[There is no value in the tab n°1|There is only 1 value in the tab n°1|There is $1 values in the tab n°1]]></tab1>
			<tab2><![CDATA[There is no value in the tab n°2|There is only 1 value in the tab n°2|There is $1 values in the tab n°2]]></tab2>
		</tab>
	</body>
</texts>