Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-51

Able to specify multiple I18N resources globally and locally

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: 6.0.0
    • Fix Version/s: None
    • Component/s: ZK Loader
    • Labels:
      None

      Description

      https://sourceforge.net/tracker/?func=detail&aid=3028248&group_id=152762&atid=785194

      Currently, ZK allows only one resource file (/WEB/i3-label.properties; customizable by http://docs.zkoss.org/wiki/Developer_reference_Appendix_B._WEB-INF/zk.xml_Library_Properties#org.zkoss.util.label.web.location).

      It is better and clearer to allow users to specify one or multiple resources in zk.xml.

      <label-resource>
      <path>/WEB-INF/foo/users.properties</path>
      <charset>UTF-8</charset>
      </label-resource>

      In additions, it is better to allow the developer to specify resource files in a ZUML page, such that the resource file used and loaded only for a particular page.
      <?label-resource path="/WEB-INF/foo/users.properties" charset="UTF-8"?>

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            asukachen asukachen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: