Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Similar Issues:
      Show 5 results 

      Description

      Currently to add language keys to a hook, one may need to add the following:

      <language-properties>content/Language.properties</language-properties>
      <language-properties>content/Language_ar.properties</language-properties>
      <language-properties>content/Language_bg.properties</language-properties>
      <language-properties>content/Language_ca.properties</language-properties>
      <language-properties>content/Language_cs.properties</language-properties>
      <language-properties>content/Language_da.properties</language-properties>
      <language-properties>content/Language_de.properties</language-properties>
      <language-properties>content/Language_el.properties</language-properties>
      <language-properties>content/Language_en.properties</language-properties>
      <language-properties>content/Language_es.properties</language-properties>
      <language-properties>content/Language_et.properties</language-properties>
      <language-properties>content/Language_eu.properties</language-properties>
      <language-properties>content/Language_fa.properties</language-properties>
      <language-properties>content/Language_fi.properties</language-properties>
      <language-properties>content/Language_fr.properties</language-properties>
      <language-properties>content/Language_gl.properties</language-properties>
      <language-properties>content/Language_hi_IN.properties</language-properties>
      <language-properties>content/Language_hr.properties</language-properties>
      <language-properties>content/Language_hu.properties</language-properties>
      <language-properties>content/Language_in.properties</language-properties>
      <language-properties>content/Language_it.properties</language-properties>
      <language-properties>content/Language_iw.properties</language-properties>
      <language-properties>content/Language_ja.properties</language-properties>
      <language-properties>content/Language_ko.properties</language-properties>
      <language-properties>content/Language_lo.properties</language-properties>
      <language-properties>content/Language_nb.properties</language-properties>
      <language-properties>content/Language_nl.properties</language-properties>
      <language-properties>content/Language_nl_BE.properties</language-properties>
      <language-properties>content/Language_pl.properties</language-properties>
      <language-properties>content/Language_pt_BR.properties</language-properties>
      <language-properties>content/Language_pt_PT.properties</language-properties>
      <language-properties>content/Language_ro.properties</language-properties>
      <language-properties>content/Language_ru.properties</language-properties>
      <language-properties>content/Language_sk.properties</language-properties>
      <language-properties>content/Language_sl.properties</language-properties>
      <language-properties>content/Language_sr_RS.properties</language-properties>
      <language-properties>content/Language_sr_RS_latin.properties</language-properties>
      <language-properties>content/Language_sv.properties</language-properties>
      <language-properties>content/Language_tr.properties</language-properties>
      <language-properties>content/Language_uk.properties</language-properties>
      <language-properties>content/Language_vi.properties</language-properties>
      <language-properties>content/Language_zh_CN.properties</language-properties>
      <language-properties>content/Language_zh_TW.properties</language-properties>
      

      after this commit, the development processed would be simplified as adding a single line:

      <language-properties>content/Language*.properties</language-properties>
      

      would achieve the same thing. What the plugins sdk does now is if you have the wildcard indicator Language*, it'll scan the content folder to see what translations and automatically add it to your liferay-hook.xml upon deploy/war.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Shinn Lok
              Reporter:
              Shinn Lok
              Recent user:
              Jorge Diaz
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 4 weeks, 1 day ago

                Development

                  Subcomponents

                    Structure Helper Panel