localization.zul
来自「非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应」· ZUL 代码 · 共 43 行
ZUL
43 行
<?xml version="1.0" encoding="UTF-8"?><!--localization.zul{{IS_NOTE Purpose: Description: History: Tue Oct 4 11:31:13 2005, Created by henrichen}}IS_NOTECopyright (C) 2005 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT--><window id="demo" xmlns:h="http://www.w3.org/1999/xhtml"> <vbox width="100%"> <html> <attribute name="content"><![CDATA[ <h4>Localization</h4> <p>Localization is supported via an EL function "l" of taglib, meaning label. All labels are defined in the WEB-INF/i3-label.properties of the war file, and developers just specify the following line in the .zul page to retrive the localized text.</p><pre><code><?taglib uri="/WEB-INF/tld/web/core.dsp.tld" prefix="c" ?></code></pre><p>The EL ${c:l('key')} would retrive the keyed label based on the browser's preferred language setting.</p> <p>In i3-label.properties, developers might define: <pre><code>username=Usernamepassword=Password </code></pre> </p> <p>In i3-label_ja_JP.properties (for Japanese), developers might define: <pre><code>username=銉︺兗銈躲兗鍚嶇Оpassword=銉戙偣銉
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?