Uploaded image for project: '[Read Only] - Hippo Plugins'
  1. [Read Only] - Hippo Plugins
  2. HIPPLUG-1480

Taxonomy: Fallback to a language-only-localized category display name if there's no language-country localized one not found.

    XMLWordPrintable

Details

    • 0.5
    • Flagged
    • Platform 167

    Description

      Suppose you translated category names in a taxonomy document to two different locales: en and fr.
      But, suppose you have three different content root folders for each locale: en, en_GB and fr to differentiate content folders for General/US (en), UK (en_GB) and French General (fr).

      Now, when you want to select taxonomy categories in a document under General/US folder, it is selecting category names in English properly.
      However, if you try to select categories in a document under UK folder, it cannot select proper category names because there's no separate en_UK translations in the taxonomy document.

      It would be nice and more convenient if the category display name selection logic [1] is be able to fall back to en when no category is found by en_GB, the more specified locale.

      [1] https://code.onehippo.org/cms-community/hippo-plugin-taxonomy/blob/master/addon/frontend/src/main/java/org/onehippo/taxonomy/plugin/TaxonomyBrowser.java

      Attachments

        1. 11.log
          21 kB
        2. 11-A.log
          13 kB
        3. HIPPLUG-1480-3.1.3.diff
          3 kB
        4. HIPPLUG-1480-3.1.3.diff
          0.8 kB
        5. Screen Shot 2017-08-25 at 12.12.09 PM.png
          Screen Shot 2017-08-25 at 12.12.09 PM.png
          10 kB
        6. Screen Shot 2017-08-25 at 12.12.22 PM.png
          Screen Shot 2017-08-25 at 12.12.22 PM.png
          49 kB
        7. Screen Shot 2017-08-25 at 3.14.41 PM.png
          Screen Shot 2017-08-25 at 3.14.41 PM.png
          48 kB
        8. Screen Shot 2017-09-07 at 5.00.30 PM.png
          Screen Shot 2017-09-07 at 5.00.30 PM.png
          33 kB
        9. Screen Shot 2017-09-07 at 5.00.52 PM.png
          Screen Shot 2017-09-07 at 5.00.52 PM.png
          36 kB
        10. stacktrace.txt
          9 kB
        11. taxonomy language dropdown.png
          taxonomy language dropdown.png
          15 kB

        Issue Links

          Activity

            People

              pulsarteam Pulsar Team
              wko Woonsan Ko (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: