Before installing Views translation there was OK.

After installing polish translation for Views module there is no CCK Data fields at
Contextual filters -> Date: Date (node) -> Date field(s) list of checkboxes (only content and user, no fields).

Now, after changing to English mode, they are available again as:
Contextual filters -> Date: Date (node) (Fields: Date (field_date) - value)

Q: Why Contextual filters depends on translation is loaded?

CommentFileSizeAuthor
#4 contextual filter.png166.18 KBgerhardbaumeister

Comments

syntax-2’s picture

If I import views-7.x-3.0-alpha1.pl.po with this modification:

before (original file):
msgid "Fields"
msgstr "Pola"

after:
msgid "Fields"
msgstr ""

it works OK...

gerhardbaumeister’s picture

Please can someone check if the Problem with Contextual Filters is related to http://drupal.org/node/1094408.

I thought it is a calendar-issue but creating a view from scratch in english, i can add a date node - date field to the contextual filter.

When changing the language, the date-field dissapears in the contextual filter and the checkbox is missing.

So, i think it´s a views-issue.

my module status:

ENTITY 7.x-1.0-beta8 2011-Mar-21
CTOOLS 7.x-1.x-dev 2011-Mar-24
VIEWS 7.x-3.x-dev 2011-Mar-24
DATE 7.x-2.x-dev 2011-Mar-23
CALENDAR 7.x-2.x-dev 2011-Mar-24

gerhardbaumeister’s picture

@syntax

i can´t see any difference in your before and after in #1
I would try it in the german.po

gerhardbaumeister’s picture

StatusFileSize
new166.18 KB

and here a creenshot

syntax-2’s picture

@gerhardbaumeister

yes, my mistake

before 'msgstr' was Polish translation of term "Fields" - "Pola", after 'msgstr' is without this translation - "" (empty string)

by the way - if i remove (in /admin/config/regional/translate/translate) this term - it doesn't work - it must be file *.po imported (/admin/config/regional/translate/import) with that modification (option: 'Strings in the uploaded file replace existing ones, new ones are added. The plural format is updated.') ... i don't know why simply remove that term in admin panel doesn't work.

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

So it's fixed based on #5?

It would be cool if you could mark the issue as fixed if it's fixed.

gerhardbaumeister’s picture

@dereine

i will test it tomorrow. But i doubt this is a fix - it will be a workaround.

syntax-2’s picture

Exactly! - that is workaround.
Main question (and problem) is:
Why depends the List of possible fields with the type node(date) in the Form contextual filters on the translation (respectively no translation) of the msgid "Fields" in Drupal localized sites?

dawehner’s picture

Could it be that this is a bug in the date module?

The date module provides this "contextual filter".

gerhardbaumeister’s picture

@dereine
That´s the question: ctools, views, date, calendar? And how to avoid crossposting ;-)
My related thread is there: http://drupal.org/node/1094408
There i provide a long list of possible relatet threads.
Thanks so far.

@syntax Workaround works for me also in german.
Thank you very much!

But the question in #8 still remains.

syntax-2’s picture

@gerhardbaumeister
You welcome ;-)
I'm interesting too which one is guilty: ctools, views, date or calendar...

dawehner’s picture

The formular itself is provided by date so i would start on the date module.

arlinsandbulte’s picture

#1094408: Date field not showing up in views arguments in localized site might have affected or fixed this issue.
Please verify this issue exists with the March 28 -dev

Road Runner’s picture

Status: Postponed (maintainer needs more info) » Needs work

There is still a problem here but it doesn't seem dependent on local translation. Simply add a date field to any type of content and then create a View and try to filter that view using date. The only date field you will be presented with is the Content creation and User creation date. The filter doesnn not present the opportunity to filter on the date field. Using Date 7.x-1.0-alpha2, Views 7.x-3.x-dev (2011-Apr-12), and Calendar 7.x-1.0-alpha3. NB, problem exists with and without Calendar module installed. I will post this on Date too.

merlinofchaos’s picture

Status: Needs work » Closed (won't fix)

'needs work' means there is a patch here that needs work.

Also, this is all about date.module fields. That should be posted against date.module, not Views.

Road Runner’s picture

Yea just posting to be thorough. I already posted it to Date issue. Thnx.