How to prohibit a view for specific languages? We've got a view like news with only English content and we're not planning to add content in other languages any time soon.
But we do have other languages (more static ones) on the page and therefore are using the language dropdown. If I'm in the view: /news.html (in English), Drupal and the language dropdown still provides es/news.html even though there are 0 news in Spanish.
How can I point the language dropdown to / in case I'm on the news view?
(I could do Drupal redirects I reckon - but maybe there is a smarter solution which solves the root, not the impact?)
Applying filter while creating views. Add a new filter &amp; select "Node translation" from the "Groups" listed and check "Node translation: Language" and click "Add". Then you can choose languages which you want to show.

OR


  
  Create Block
  Under Visibility settings change to PHP (If PHP is not an option, go into modules and enable the PHP input method)
  Use below code &amp; save :
  


 global $language;
    $lang_name = $language-&gt;language;
    if ( $lang_name == "en" ) { return TRUE; } else { return FALSE; }


NOTE:  Replace the "en" with the two letter name of what ever language you want the block to be visible for. For Example if you want your block only visible when the language is French, change "en" to "fr" .