About this task
BTT web2 iWindow style framework supports different locale
settings and provides localization for Start menu, service icons,
taskbar, widget window head, and service list. Web developer only
need to configure the locale js in WebApp/WebContent/BTTWeb20/locale/language/Lang-*.js.
And include the according js file in entry page, for example:
<% if("en_US".equals(utb.getContext().getValueAt("locale"))){ %>
<script src="BTTWeb20/locale/language/Lang-en_US.js"type="text/javascript"></script><%}else{ %>
<script src="BTTWeb20/locale/language/Lang-zh_CN.js"type="text/javascript"></script>
<%} %>