Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5315

I18nizer: allow default values, optional, or default-to-blank texts

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Neutral
    • Resolution: Obsolete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: i18n
    • Labels:
      None

      Description

      There are some texts where a translation is "mandatory" (i.e a field label), but others which are typically optional, such as a field description. Several ideas:

      • @I18nText(optional=true
      • @I18nText(default=""
      • @I18nText(defaultToEmpty=true

      I'm not convinced there are other cases than "" for the default property of the annotation.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 8m
                  8m