#283 open
Clemens Kofler

Filter /w translations

Reported by Clemens Kofler | April 15th, 2009 @ 01:59 PM

Since contents can have translations, the filters need to take that into account.

Let's assume the following use case: We have two articles:

  • Article 1 with English and German locale (title-en: "Welcome", title-de: "Willkommen")
  • Article 2 with English and German locale (title-en: "Another article", title-de: "Noch ein Artikel")

If we now filter for articles with the title containing the word "welcome", we expect it to list the first article. However, if we filter by title "willkommen", we also expect it to show the first article, only this time it should be the German version - which, as far as I've tried, doesn't happen (neither before nor after my latest change), because it still shows the English version.

Here's an idea what it should look like:

  • We should include a column "Translations" (or "Locales" or whatever) in lists if at least one object in the list has more than one translation. This column should list all translations which should be linked to their respective edit page (/edit?cl=whatever).
  • The "main" edit link should, by default, link to the content's first translation (= first version).
  • If we activate a filter, I see two possibilities: a) List all translations as separate entries with their respective translated fields, show the locale in the locale column and have the edit link point to the respective edit page. So if both translations had the title "welcome", when we search for welcome, we would get two articles (which, really, are two translations). b) Let the filter do its magic on the locale column. So for the previous example, we would get one article but the locale column would indicate that both translations contain the filtered value (e.g. by highlighting them). The question in this case would be where to point the edit link.
  • We might think about offering a locale filter so people can apply filters only for a certain translation.

Thoughts?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<p>Cutting edge cms, blog, wiki, forum ... plattform.</p>

<p>Find the code on <a href="http://github.com/svenfuchs/adva_cms/tree/master">GitHub: adva cms</a></p>

<p>Part of the business application framework <a href="http://www.advabest.org/">adva best</a>.</p>

Pages