Closed (fixed)
Project:
Views Datasource
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 May 2010 at 15:59 UTC
Updated:
23 Jun 2010 at 20:50 UTC
If accessing the view through a different translation then all the labels and data are blank. View works as expected if changed to something like a HTML list.
Comments
Comment #1
jdelaune commentedFound out what the issue was if someone wants to roll out a patch. The issue is that the $options array contains translated values so when matching these settings in the templates you need to translate the values you expect.
E.g. in the views-views-xml-style-raw.tpl.php on line 26. If you change it to:
if ($options['field_output'] == t('normal')) {Hope this makes sense.
Comment #2
allisterbeharry commentedAre you using the latest dev snapshot? I can't figure this out because the option values are not marked as translatable, only the labels.
Comment #3
allisterbeharry commentedRemoved use of the t() function and set all options as translatable = FALSE, should resolve issues on multilingual sites.