I have created a view with empty text using PHP code. Now, when I try to translate it through the translation interface (admin/build/translate/search), while I find the string (it show up all the PHP code) and translate it (I did it by adding the PHP code again with the translated strings), when I change the language of my site I see nothing. When I come back to English, it showed up correctly.

Does anyone have any idea?

1 Answer 1


If this view is showing inside of a block then make sure you have the translation "Make this block translatable" is checked, and what ever language you want to translate to is also checked. hope this helps.

  • Thank you for your answer. No the view isn't inside of a block. I use a page display of the view as a panel pane.
    – Pavlos
    Dec 31, 2011 at 15:15
  • do you have your text wrapped around t('like this')?
    – saadlulu
    Feb 16, 2012 at 12:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.