summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Advanced/Samples/I18N
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2015-12-07 15:57:51 +0100
committerFabio Bas <ctrlaltca@gmail.com>2015-12-07 15:57:51 +0100
commit654a9cae43358c7eecf3b522e9876aa7815e2453 (patch)
tree545f2e42fdc6e824b247924adf083ad3fe51e61d /demos/quickstart/protected/pages/Advanced/Samples/I18N
parente99e35819d53dc48ae4e9a8491528a6b6011469f (diff)
Move urls from pradosoft.com to github's project page; drop unmaintained quickstart tutorial translations
Diffstat (limited to 'demos/quickstart/protected/pages/Advanced/Samples/I18N')
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/id/Home.page161
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml29
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml29
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml30
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.id.xml29
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml29
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml29
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml17
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml17
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml18
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.id.xml17
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml17
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml17
-rwxr-xr-xdemos/quickstart/protected/pages/Advanced/Samples/I18N/zh_TW/Home.page155
14 files changed, 0 insertions, 594 deletions
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/id/Home.page b/demos/quickstart/protected/pages/Advanced/Samples/I18N/id/Home.page
deleted file mode 100755
index a490abce..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/id/Home.page
+++ /dev/null
@@ -1,161 +0,0 @@
-<%@ Title="Internasionlisasi dalam PRADO"
- Page.Application.Globalization.TranslationCatalogue="index" %>
-<com:TContent ID="body">
-
-<h1>Internasionlisasi dalam PRADO</h1>
-<p>Demo ini memperlihatkan komponen dasar yang tersedia dalam PRADO untuk memproses Internasionalisasi dan Lokalisasi aplikasi web. Halam ini memanfaatkan template siap multipel lokal (atau kultur) untuk memperlihatkan halaman terlokalisasi yang tersedia. Untuk melihat versi dilokalisasi yang berbeda, silahkan ganti setelan bahasa dalam browser Anda.</p>
-
-<p>
-Saat ini kultur Anda adalah <%= $this->Page->CurrentCulture %>.
-<div class="links">
- Versi lokalisasi tersedia:
- <com:LanguageList />
-</div>
-</p>
-
-<p>
- Sebagai tambahan ke template siap kultur. Teks dapat dilokalisasi menggunakan banyak sumber terjemanan yang berbeda. PRADO menyediakan wadah gettext, XML, SQLite, dan MySQL untuk menyimpan terjemahan pesan. Contoh dalam link berikut mendemonstrasikan bagaimana teks dapat dilokalisasi menggunakan komponen TTranslate.
-</p>
-<hr />
-<h2>Pengenalan</h2>
-<p> Mengembangkan dan memelihara situs multi-bahasa adalah masalah umum bagi para pengembang web. </p>
-<dl>
-<dt><strong>Internasionalisasi (I18N)</strong></dt>
-<dd>Proses pengembangan sebuah produk dalam cara yang bekerja dengan data dalam bahasa berbeda dan dapat diadaptasi ke berbagai target pasar tanpa melakukan perubahan. </dd>
-<dt><strong>Lokalisasi (L10N)</strong></dt>
-<dd>Proses selanjutnya dari menterjemahkan dan mengadaptasi sebuah produk untuk pasar konvensi kultural yang tersedia.</dd>
-</dl>
-<p>Fitur berikut didukung oleh PRADO: </p>
-<ul id="u1" class="block-content">
- <li>Terjemahan teks</li>
- <li>Terjemahan atribut</li>
- <li>Substitusi parameter (dengan terjemahan bila diperlukan) </li>
- <li>Format tanggal, angka dan kurs </li>
-</ul>
-<h2>Contoh</h2>
-<h3>Tanggal: pola lengkap, kultur en_GB</h3>
-<h4>Contoh:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TDateFormat ID="Time1" Pattern="full" Culture="en_GB"/&gt;
-</com:TTextHighlighter>
-<h4>Hasil:</h4>
-<com:TDateFormat ID="Time1" Pattern="full" Culture="en_GB"/> <br />
-<hr />
-
-<h3>Tanggal: pola pendek</h3>
-<h4>Contoh:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TDateFormat ID="Time2" Pattern="short" /&gt;
-</com:TTextHighlighter>
-
-<h4>Hasil:</h4>
-<com:TDateFormat ID="Time2" Pattern="short" /> <br />
-<hr />
-
-<h3>Pola standar tanggal dari <%= $this->Page->CurrentCulture %> </h3>
-<h4>Contoh:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TDateFormat ID="Time3" Value="2004/12/06" /&gt;
-</com:TTextHighlighter>
-
-<h4>Hasil:</h4>
-<com:TDateFormat ID="Time3" Value="2004/12/06" /> <br />
-<hr />
-
-<h3>Format standar kurs</h3>
-<h4>Contoh:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TNumberFormat Type="currency" Value="12.4" /&gt;
-</com:TTextHighlighter>
-
-<h4>Hasil:</h4>
-<com:TNumberFormat Type="currency" Value="12.4" /> <br />
-<hr />
-<h3>Currency, de_DE culture with Euro</h3>
-<h4>Contoh:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TNumberFormat ID="Number2" Type="currency" Culture="de_DE" Currency="EUR"/&gt;
-</com:TTextHighlighter>
-
-<h4>Hasil:</h4>
-<com:TNumberFormat ID="Number2" Type="currency" Culture="de_DE" Currency="EUR"/> <br />
-
-<hr />
-
-<h3>Kurs, format US dengan Euro</h3>
-<h4>Contoh:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TNumberFormat Type="currency" Culture="en_US" Currency="EUR" Value="100" /&gt;
-</com:TTextHighlighter>
-
-<h4>Hasil</h4>
-<com:TNumberFormat Type="currency" Culture="en_US" Currency="EUR" Value="100" /> <br />
-<hr />
-
-<h3>Contoh terjemahan</h3>
-<h4>ContohExample:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TTranslate&gt;Hello&lt;/com:TTranslate&gt;
-</com:TTextHighlighter>
-
-<h4>Hasil:</h4>
-<com:TTranslate>Hello</com:TTranslate> <br />
-<h4>Contoh:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TTranslate Text="Goodbye" /&gt;
-</com:TTextHighlighter>
-
-<h4>Hasil:</h4>
-<com:TTranslate Text="Goodbye" /> <br />
-
-<hr />
-<h3>Menggunakan tag lokalisasi</h3>
-<h4>Contoh:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;%[ Goodbye ]%&gt;
-</com:TTextHighlighter>
-
-<h4>Hasil:</h4>
-<%[ Goodbye ]%>
-<br />
-
-
-<hr />
-<h3>Menterjemahkan menggunakan katalog berbeda </h3>
-<h4>Contoh:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TTranslate Text="Goodbye" Catalogue="tests" /&gt;
-</com:TTextHighlighter>
-
-<h4>Hasil:</h4>
-<com:TTranslate Text="Goodbye" Catalogue="tests" />
-<br />
-
-
-<hr />
-<h3>Translasi dengan substitusi parameter</h3>
-<h4>Contoh:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TTranslate&gt;
- {greeting} {name}!, The unix-time is "{time}".
- &lt;com:TTranslateParameter Key="name"&gt;
- &lt;com:TTranslate Catalogue="tests" Text="World" /&gt;
- &lt;/com:TTranslateParameter&gt;
- &lt;com:TTranslateParameter Key="greeting" Value="Hello" /&gt;
- &lt;com:TTranslateParameter Key="time" Value="&lt;%= Time() %&gt;" /&gt;
-&lt;/com:TTranslate&gt;
-</com:TTextHighlighter>
-
-
-<h4>Hasil:</h4>
-
-<com:TTranslate>
- {greeting} {name}!, The unix-time is "{time}".
- <com:TTranslateParameter Key="name">
- <com:TTranslate Catalogue="tests" Text="World" />
- </com:TTranslateParameter>
- <com:TTranslateParameter Key="greeting" Value="Hello" />
- <com:TTranslateParameter Key="time" Value="<%= Time() %>" />
-</com:TTranslate>
-
-</com:TContent>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml
deleted file mode 100755
index 696fafe0..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<xliff version="1.0">
-<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id: index.de.xml 1398 2006-09-08 19:31:03Z xue $ -->
-<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-30T18:01:42Z">
-<body>
-
-<trans-unit id="1">
-<source>Hello</source>
-<target>Hallo</target>
-</trans-unit>
-
-<trans-unit id="2">
-<source>Goodbye</source>
-<target>Auf Wiedersehen</target>
-</trans-unit>
-
-<trans-unit id="3">
-<source>World</source>
-<target>Welt</target>
-</trans-unit>
-
-<trans-unit id="4">
-<source>{greeting} {name}!, The unix-time is "{time}".</source>
-<target>{greeting} {name}!, der Unix-Zeitstempel ist "{time}".</target>
-</trans-unit>
-</body>
-</file>
-</xliff>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml
deleted file mode 100755
index 86548092..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<xliff version="1.0">
-<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id: index.es.xml 1398 2006-09-08 19:31:03Z xue $ -->
-<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-29T11:24:28Z">
-<body>
-
-<trans-unit id="1">
-<source>Hello</source>
-<target>Hola</target>
-</trans-unit>
-
-<trans-unit id="2">
-<source>Goodbye</source>
-<target>Adi&#xF3;s</target>
-</trans-unit>
-
-<trans-unit id="3">
-<source>World</source>
-<target>mundo</target>
-</trans-unit>
-
-<trans-unit id="4">
-<source>{greeting} {name}!, The unix-time is "{time}".</source>
-<target>&#xA1;{greeting} {name}!, el unix-tiempo es "{time}".</target>
-</trans-unit>
-</body>
-</file>
-</xliff>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml
deleted file mode 100755
index e486d644..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<xliff version="1.0">
-<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id: index.fr.xml 1398 2006-09-08 19:31:03Z xue $ -->
-<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2005-01-06T23:48:27Z">
-<body>
-
-<trans-unit id="1">
-<source>Hello</source>
-<target>Bonjour</target>
-</trans-unit>
-
-<trans-unit id="2">
-<source>Goodbye</source>
-<target>Au revoir</target>
-</trans-unit>
-
-<trans-unit id="3">
-<source>World</source>
-<target>le monde</target>
-</trans-unit>
-
-<trans-unit id="4">
-<source>{greeting} {name}!, The unix-time is "{time}".</source>
-<target>{greeting} {name}!, le temps unix est "{time}".</target>
-</trans-unit>
-</body>
-</file>
-</xliff>
-
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.id.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.id.xml
deleted file mode 100755
index 6a8c0c56..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.id.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<xliff version="1.0">
-<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id: index.en.xml 1398 2006-09-08 19:31:03Z xue $ -->
-<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2005-01-09T13:52:21Z">
-<body>
-
-<trans-unit id="1">
-<source>Hello</source>
-<target>Halo</target>
-</trans-unit>
-
-<trans-unit id="2">
-<source>Goodbye</source>
-<target>Selamat tinggal</target>
-</trans-unit>
-
-<trans-unit id="3">
-<source>World</source>
-<target>Dunia</target>
-</trans-unit>
-
-<trans-unit id="4">
-<source>{greeting} {name}!, The unix-time is "{time}".</source>
-<target>{greeting} {name}!, Waktu-unix adalah "{time}".</target>
-</trans-unit>
-</body>
-</file>
-</xliff>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml
deleted file mode 100755
index e1f6cf0d..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<xliff version="1.0">
-<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id: index.pl.xml 1398 2006-09-08 19:31:03Z xue $ -->
-<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-28T17:43:42Z">
-<body>
-
-<trans-unit id="1">
-<source>Hello</source>
-<target>Witaj</target>
-</trans-unit>
-
-<trans-unit id="2">
-<source>Goodbye</source>
-<target>Żegnaj!</target>
-</trans-unit>
-
-<trans-unit id="3">
-<source>World</source>
-<target>Świecie</target>
-</trans-unit>
-
-<trans-unit id="4">
-<source>{greeting} {name}!, The unix-time is "{time}".</source>
-<target>{greeting} {name}!, Czas unixowy "{time}".</target>
-</trans-unit>
-</body>
-</file>
-</xliff>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml
deleted file mode 100755
index ae2c8a2d..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<xliff version="1.0">
-<!-- @author $Author: qiangxue $ -->
-<!-- @version $Id: index.zh.xml 1398 2006-09-08 19:31:03Z xue $ -->
-<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-29T11:07:53Z">
-<body>
-
-<trans-unit id="1">
-<source>Hello</source>
-<target>你好</target>
-</trans-unit>
-
-<trans-unit id="2">
-<source>Goodbye</source>
-<target>再见</target>
-</trans-unit>
-
-<trans-unit id="3">
-<source>World</source>
-<target>世界</target>
-</trans-unit>
-
-<trans-unit id="4">
-<source>{greeting} {name}!, The unix-time is "{time}".</source>
-<target>{greeting} {name}!,Unix时间是“{time}”。</target>
-</trans-unit>
-</body>
-</file>
-</xliff>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml
deleted file mode 100755
index b98547b7..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<xliff version="1.0">
-<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id: tests.de.xml 1398 2006-09-08 19:31:03Z xue $ -->
-<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-29T11:22:55Z">
-<body>
-<trans-unit id="1">
-<source>Goodbye</source>
-<target>Auf Wiedersehen!</target>
-</trans-unit>
-<trans-unit id="2">
-<source>World</source>
-<target>Welt</target>
-</trans-unit>
-</body>
-</file>
-</xliff>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml
deleted file mode 100755
index e4119a6c..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<xliff version="1.0">
-<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id: tests.es.xml 1398 2006-09-08 19:31:03Z xue $ -->
-<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-29T11:27:45Z">
-<body>
-<trans-unit id="1">
-<source>Goodbye</source>
-<target>&#xA1;Adi&#xF3;s!</target>
-</trans-unit>
-<trans-unit id="2">
-<source>World</source>
-<target>mundo</target>
-</trans-unit>
-</body>
-</file>
-</xliff>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml
deleted file mode 100755
index 20609fcb..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0"?>
-<xliff version="1.0">
-<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id: tests.fr.xml 1398 2006-09-08 19:31:03Z xue $ -->
-<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-28T18:10:19Z">
-<body>
-<trans-unit id="1">
-<source>Goodbye</source>
-<target>Au revoir !</target>
-</trans-unit>
-<trans-unit id="2">
-<source>World</source>
-<target>le monde</target>
-</trans-unit>
-</body>
-</file>
-</xliff>
-
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.id.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.id.xml
deleted file mode 100755
index 558026dc..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.id.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<xliff version="1.0">
-<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id: tests.en.xml 1398 2006-09-08 19:31:03Z xue $ -->
-<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-28T18:10:19Z">
-<body>
-<trans-unit id="1">
-<source>Goodbye</source>
-<target>Selamat tinggal</target>
-</trans-unit>
-<trans-unit id="2">
-<source>World</source>
-<target>Dunia</target>
-</trans-unit>
-</body>
-</file>
-</xliff>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml
deleted file mode 100755
index 82a33cbc..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<xliff version="1.0">
-<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id: tests.pl.xml 1398 2006-09-08 19:31:03Z xue $ -->
-<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-28T18:10:19Z">
-<body>
-<trans-unit id="1">
-<source>Goodbye</source>
-<target>Dowidzenia</target>
-</trans-unit>
-<trans-unit id="2">
-<source>World</source>
-<target>Świecie</target>
-</trans-unit>
-</body>
-</file>
-</xliff>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml
deleted file mode 100755
index 4f93f268..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<xliff version="1.0">
-<!-- @author $Author: qiangxue $ -->
-<!-- @version $Id: tests.zh.xml 1398 2006-09-08 19:31:03Z xue $ -->
-<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-29T11:08:54Z">
-<body>
-<trans-unit id="1">
-<source>Goodbye</source>
-<target>拜拜</target>
-</trans-unit>
-<trans-unit id="2">
-<source>World</source>
-<target>世界</target>
-</trans-unit>
-</body>
-</file>
-</xliff>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/zh_TW/Home.page b/demos/quickstart/protected/pages/Advanced/Samples/I18N/zh_TW/Home.page
deleted file mode 100755
index 7629e7bb..00000000
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/zh_TW/Home.page
+++ /dev/null
@@ -1,155 +0,0 @@
-<%@ Title="PRADO 國際化"
- Page.Application.Globalization.TranslationCatalogue="index" %>
-<com:TContent ID="body">
-<h1>PRADO 國際化</h1>
- <p>本演示將介紹如何用PRADO中的一些部件對您的Web應用進行國際化和本地化。
- 本网頁的顯示是根据您的當地設置從多個不同語言的模板中選擇進行的。
- 如果你想查看其它語言版本,請更改瀏覽器的語言設置。</p>
-
- <p>
- 您目前的語言設置是
- <%= $this->Page->CurrentCulture %>.
- <div class="links">
- 可查看的語言版本包括:
- <com:LanguageList />
- </div>
- </p>
-
- <p>
- 除了能自動偵知語言設置的模板外,文本也可以使用不同的翻譯源進行本地化。
- PRADO提供了gettext,XML,SQLite以及MySQL等手段用于存放消息的各种翻譯。
- 下面連接所指向的例子展示了如何使用TTranslate部件對文本進行本地化。
- <hr />
- <h2>簡介</h2>
- <p>開發和維護多語言的站點對Web開發者而言是一個很常見的問題。</p>
- <dl>
- <dt><strong>國際化(I18N)</strong></dt>
- <dd>產品開發的一個步驟,它使得產品能接受不同語言的數据,并且在沒有更改設計
- 的情況下使產品能用于不同的市場。</dd>
- <dt><strong>L本地化(L10N)</strong></dt>
- <dd>國際化的一個細節步驟,它針對某個特定的市場文化對產品進行翻譯和調整。</dd>
- </dl>
- <p>PRADO支持以下功能:</p>
- <ul id="u1" class="block-content">
- <li>文本翻譯</li>
- <li>屬性翻譯(尚未完成)</li>
- <li>參數替換(如需要可進行翻譯)</li>
- <li>日期,數字和貨幣的格式化</li>
- </ul>
- <h2>例子</h2>
- <h3>日期:完整格式,en_GB語言設置</h3>
- <h4>例: </h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TDateFormat ID="Time1" Pattern="full" Culture="en_GB"/&gt;
-</com:TTextHighlighter>
- <h4>結果: </h4>
- <com:TDateFormat ID="Time1" Pattern="full" Culture="en_GB"/> <br />
- <hr />
-
- <h3>日期:短格式</h3>
- <h4>例:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TDateFormat ID="Time2" Pattern="short" /&gt;
-</com:TTextHighlighter>
- <h4>結果:</h4>
- <com:TDateFormat ID="Time2" Pattern="short" /> <br />
- <hr />
-
- <h3>日期:<%= $this->Page->CurrentCulture %>的缺省模式</h3>
- <h4>例:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TDateFormat ID="Time3" Value="2004/12/06" /&gt;
-</com:TTextHighlighter>
- <h4>結果:</h4>
-<com:TDateFormat ID="Time3" Value="2004/12/06" /> <br />
- <hr />
-
- <h3>貨幣,缺省格式</h3>
- <h4>例:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TNumberFormat Type="currency" Value="12.4" /&gt;
-</com:TTextHighlighter>
- <h4>結果:</h4>
-<com:TNumberFormat Type="currency" Value="12.4" /> <br />
- <hr />
- <h3>貨幣,de_DE語言以及歐幣</h3>
- <h4>例:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TNumberFormat ID="Number2" Type="currency" Culture="de_DE" Currency="EUR"/&gt;
-</com:TTextHighlighter>
- <h4>結果:</h4>
- <com:TNumberFormat ID="Number2" Type="currency" Culture="de_DE" Currency="EUR"/> <br />
-
- <hr />
-
- <h3>貨幣, 美國格式以及歐幣</h3>
- <h4>例:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TNumberFormat Type="currency" Culture="en_US" Currency="EUR" Value="100" /&gt;
-</com:TTextHighlighter>
- <h4>結果:</h4>
- <com:TNumberFormat Type="currency" Culture="en_US" Currency="EUR" Value="100" /> <br />
- <hr />
-
- <h3>翻譯實例</h3>
- <h4>例:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TTranslate&gt;Hello&lt;/com:TTranslate&gt;
-</com:TTextHighlighter>
- <h4>結果:</h4>
- <com:TTranslate>Hello</com:TTranslate> <br />
- <h4>例:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TTranslate Text="Goodbye" /&gt;
-</com:TTextHighlighter>
- <h4>結果:</h4>
- <com:TTranslate Text="Goodbye" /> <br />
-
-<hr />
-<h3>Using localization tag</h3>
-<h4>Example:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;%[ Goodbye ]%&gt;
-</com:TTextHighlighter>
-
-<h4>Result:</h4>
-<%[ Goodbye ]%>
-<br />
-
- <hr />
- <h3>用不同目錄進行翻譯</h3>
- <h4>例:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TTranslate Text="Goodbye" Catalogue="tests" /&gt;
-</com:TTextHighlighter>
- <h4>結果:</h4>
-<com:TTranslate Text="Goodbye" Catalogue="tests" />
- <br />
-
-
- <hr />
- <h3>用參數替換進行翻譯</h3>
- <h4>例:</h4>
-<com:TTextHighlighter Language="prado" CssClass="source">
-&lt;com:TTranslate&gt;
- {greeting} {name}!, The unix-time is "{time}".
- &lt;com:TTranslateParameter Key="name"&gt;
- &lt;com:TTranslate Catalogue="tests" Text="World" /&gt;
- &lt;/com:TTranslateParameter&gt;
- &lt;com:TTranslateParameter Key="greeting" Value="Hello" /&gt;
- &lt;com:TTranslateParameter Key="time" Value="&lt;%= Time() %&gt;" /&gt;
-&lt;/com:TTranslate&gt;
-</com:TTextHighlighter>
-
- <h4>結果:</h4>
-
-<com:TTranslate>
- {greeting} {name}!, The unix-time is "{time}".
- <com:TTranslateParameter Key="name">
- <com:TTranslate Catalogue="tests" Text="World" />
- </com:TTranslateParameter>
- <com:TTranslateParameter Key="greeting" Value="Hello" />
- <com:TTranslateParameter Key="time" Value="<%= Time() %>" />
-</com:TTranslate>
-
-</com:TContent>