The language-config Element"

From Documentation
m (Created page with "{{ZKConfigurationReferencePageHeader}} '''Syntax:''' <language-config> <addon-uri>''a_uri''</addon-uri> <language-uri>''a_uri</language-uri> </language-config> It s...")
 
m
Line 10: Line 10:
  
 
The use is the same as [[ZK Configuration Reference/zk.xml/The language-config Element]], except it is specified in a JAR file's <tt>config.xml</tt> rather than <tt>WEB-INF/zk.xml</tt>.
 
The use is the same as [[ZK Configuration Reference/zk.xml/The language-config Element]], except it is specified in a JAR file's <tt>config.xml</tt> rather than <tt>WEB-INF/zk.xml</tt>.
 +
 +
Notice that the URI is related to the class path, such as <tt>/metainf/zk/lang-fb.xml</tt>. In additions, <tt>/metainf/zk/lang.xml</tt> and <tt>/metainf/zk/lang-addon.xml</tt>  are always loaded, no matter if this element is specified in <tt>config.xml</tt>.
  
 
=Version History=
 
=Version History=

Revision as of 08:07, 6 May 2011


The language-config Element


Syntax:

<language-config>
    <addon-uri>a_uri</addon-uri>
    <language-uri>a_uri</language-uri>
</language-config>

It specifies the addition language addons and/or definitions.

The use is the same as ZK Configuration Reference/zk.xml/The language-config Element, except it is specified in a JAR file's config.xml rather than WEB-INF/zk.xml.

Notice that the URI is related to the class path, such as /metainf/zk/lang-fb.xml. In additions, /metainf/zk/lang.xml and /metainf/zk/lang-addon.xml are always loaded, no matter if this element is specified in config.xml.

Version History

Last Update : 2011/05/06


Version Date Content
5.0.7 May 2011 The language-config element was allowed in config.xml.



Last Update : 2011/05/06

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.