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?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | contextual filter.png | 166.18 KB | gerhardbaumeister |
Comments
Comment #1
syntax-2 commentedIf 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...
Comment #2
gerhardbaumeister commentedPlease 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
Comment #3
gerhardbaumeister commented@syntax
i can´t see any difference in your before and after in #1
I would try it in the german.po
Comment #4
gerhardbaumeister commentedand here a creenshot
Comment #5
syntax-2 commented@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.
Comment #6
dawehnerSo it's fixed based on #5?
It would be cool if you could mark the issue as fixed if it's fixed.
Comment #7
gerhardbaumeister commented@dereine
i will test it tomorrow. But i doubt this is a fix - it will be a workaround.
Comment #8
syntax-2 commentedExactly! - 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?
Comment #9
dawehnerCould it be that this is a bug in the date module?
The date module provides this "contextual filter".
Comment #10
gerhardbaumeister commented@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.
Comment #11
syntax-2 commented@gerhardbaumeister
You welcome ;-)
I'm interesting too which one is guilty: ctools, views, date or calendar...
Comment #12
dawehnerThe formular itself is provided by date so i would start on the date module.
Comment #13
arlinsandbulte commented#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
Comment #14
Road Runner commentedThere 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.
Comment #15
merlinofchaos commented'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.
Comment #16
Road Runner commentedYea just posting to be thorough. I already posted it to Date issue. Thnx.