PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Kai Dorschner   Token Translator   example.php   Download  
File: example.php
Role: Auxiliary data
Content type: text/plain
Description: Example implementation
Class: Token Translator
Translate text into idioms retrieved from XML file
Author: By
Last change: Extended token DateFormat.
Date: 14 years ago
Size: 1,082 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="utf-8"?> <root> <token name="DateFormat"> <translation lang="de">d.m.Y</translation> <translation lang="en">m/d/Y</translation> </token> <token name="MenuAboutMe"> <translation lang="de">Über mich</translation> <translation lang="en">About me</translation> </token> <token name="Hours"> <translation lang="de">Stunde(n)</translation> <translation lang="en">hour(s)</translation> <translation lang="fr">heure(s)</translation> <translation lang="es">hora(s)</translation> </token> <token name="Museum"> <translation lang="de">Muse(um|en)</translation> <translation lang="en">museum(s)</translation> </token> <token name="MenuEvents"> <translation lang="all"><![CDATA[Events]]></translation> <translation lang="es"><![CDATA[Acontecimientos]]></translation> <translation lang="it"><![CDATA[Eventi]]></translation> <translation lang="fr"><![CDATA[Événements]]></translation> <translation lang="ru"><![CDATA[&#1057;&#1086;&#1073;&#1099;&#1090;&#1080;&#1103;]]></translation> </token> </root>