summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page
blob: e09c2161d2dddcc7ce73a7e6ed94f01cee0ece66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<%@ Application.Globalization.Culture="zh_CN" %>
<!DOCTYPE HTML PUBLIC 
	"-//W3C//DTD XHTML 1.0 Strict//EN" 
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
	<title>Basic I18N Test</title>
	<style type="text/css">
	/*<![CDATA[*/
	body
	{
		font-family: Georgia, "Times New Roman", Times, serif;
	}
	.w3c
	{
		margin-top: 2em;
		display: block;
	}
	/*]]>*/
	</style>
</head>

<body>
<h1>Basic I18N Test</h1>
<com:TTranslate>
	Hello {name}
		<com:TTranslateParameter Key="name">
			<com:TLabel>
				<com:TTranslate>Name</com:TTranslate>
			</com:TLabel>
		</com:TTranslateParameter>
</com:TTranslate>

<div>
<com:TNumberFormat Value="10000" Type="currency"/>
</div>
<div><com:TDateFormat Value="2006-01-15"/></div>

<div>
<com:TChoiceFormat Value="0">
	[0] None |[1] One thing. |[2,Inf) Many things.
</com:TChoiceFormat><br />

<com:TChoiceFormat Value="1">
	[0] None |[1] One thing. |[2,Inf) Many things.
</com:TChoiceFormat><br />

<com:TChoiceFormat Value="5">
	[0] None |[1] One thing. |[2,Inf) Many things.
</com:TChoiceFormat>
</div>

<div class="w3c">
<a href="http://validator.w3.org/check?uri=referer">
		Validate XHTML 1.0
</a>
</div>
</body>
</html>