jsf-metadata-spec-public
  1. jsf-metadata-spec-public
  2. JSF_METADATA_SPEC_PUBLIC-15

[Localization] Changing metadata item values based on locale

    Details

    • Type: Task Task
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: Proposals
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      15

      Description

      Several metadata items may need to have different values based on the locale
      the design-time tool is running in. For example, some mechanism must be
      defined to allow the display-name and description metadata for components,
      properties, categories to be translated into multiple languages.

        Activity

        Hide
        jrstephe added a comment -

        Jeff wrote:

        In the tool that I work on, we support EL (expression language) in our
        proprietary design-time-metadata and define a small set of implicit variables
        (including locale). This mechanism can be used for localization, but also
        allows some other limited ability to vary the value of a metadata item based on
        the state of the implicit variables. The nice thing about this solution is
        that the set of implicit variables can be increased over time without changing
        the basic mechanism.

        Show
        jrstephe added a comment - Jeff wrote: In the tool that I work on, we support EL (expression language) in our proprietary design-time-metadata and define a small set of implicit variables (including locale). This mechanism can be used for localization, but also allows some other limited ability to vary the value of a metadata item based on the state of the implicit variables. The nice thing about this solution is that the set of implicit variables can be increased over time without changing the basic mechanism.

          People

          • Assignee:
            jrstephe
            Reporter:
            jrstephe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: