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

jdelaune’s picture

Status: Active » Needs work

Found 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.

allisterbeharry’s picture

Are you using the latest dev snapshot? I can't figure this out because the option values are not marked as translatable, only the labels.

allisterbeharry’s picture

Assigned: Unassigned » allisterbeharry
Status: Needs work » Fixed

Removed use of the t() function and set all options as translatable = FALSE, should resolve issues on multilingual sites.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.