📄 localization.zul
字号:
<?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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -