Uploaded image for project: 'Pentaho Analysis - Mondrian'
  1. Pentaho Analysis - Mondrian
  2. MONDRIAN-1357

Externalize schema resources in .properties files

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: In Progress
    • Severity: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      Further to MONDRIAN-1356 (which would need to be implemented first). Rather than storing resources in a schema file as Annotation elements, store them in .properties files.

      Properties files would be loaded using the usual Java mechanism, and would contain the locale in their name. When loading a schema, Mondrian would look for properties files with a given base path (specified as a schema attribute) and for each locale listed in the Schema.locales attribute.

      An advantage of this approach is that the schema can be managed independently of the resources. Usually different people are working on each. Properties files are the preferred format for the translation process, such as automated translation.

      We will continue to support translations specified via Annotation elements. If a resource is in two places, the Annotation supersedes.

      This feature would not affect the translation of members that are stored in tables. That mechanism is covered in MONDRIAN-1352.

        Attachments

          Activity

            People

            Assignee:
            jhyde Julian Hyde (Inactive)
            Reporter:
            jhyde Julian Hyde (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: