Labs
  1. Labs
  2. LABS-191

I18N : adapter for templating systems

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Current
    • Fix Version/s: Current
    • Component/s: Magma
    • Labels:
      None

      Description

      Provide an adapter to the I18N infrastructure so that it can be used from inside templating systems, like Velocity.

      Infact, using a separate I18N infrastructure for each language is a pain, from an integration POV.

      At its best, this system should be able to catch all times Velocity (and in future other templating system) calls a getter to display its output (so, not within an if statement) and instead of returning the raw data, return a properly formatted output.

      The first step is, however, to simply give a context object with simple method to format values. This simple bridge could anyway be used to internationalize strings, even when the more complete system is in place.

        Activity

        Simone Gianni created issue -
        Simone Gianni made changes -
        Field Original Value New Value
        Fix Version/s Future [ 12313489 ]
        Affects Version/s Current [ 12313487 ]
        Simone Gianni made changes -
        Fix Version/s Future [ 12313489 ]
        Fix Version/s Current [ 12313487 ]
        Simone Gianni made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development