Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21785

eZ Find: Search content in multiple languages in the admin SiteAccess

    XMLWordPrintable

    Details

      Description

      When searching for a content object that has been translated to more than one language, eZ Find can't find it unless the language to match is the first element in site.ini [RegionalSettings] SiteLanguageList. So for example, if you have an article in eng-GB called "test", and...

      [RegionalSettings]
      SiteLanguageList[]=eng-GB
      SiteLanguageList[]=ger-DE
      

      ...eZ Find will find the article. But if the language order is switched...

      [RegionalSettings]
      SiteLanguageList[]=ger-DE
      SiteLanguageList[]=eng-GB
      

      ...no results will be returned. The fact that ezfind.ini SearchMainLanguageOnly is set to "disabled" makes no difference. In essence, you can only find objects that are translated in the first language specified in each SiteAccess' [RegionalSettings] SiteLanguageList list. This works well for frontend SiteAccesses, where only content in eng-GB will be returned for a SiteAccess set up in eng-GB, only content in ger-De will be returned for a SiteAccess in ger-De, and so on.

      This, however, can be an inconvenience in the admin Siteaccess, as it would be very useful to get results for all available translations for a given object. Therefore, I would like to suggest this mechanism to be enhanced so that eZ Find-powered searches in the admin SiteAccess return results for all available translations.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 1 hour
                2d 1h