In Drupal 7, I have a block that shows recent posts which created with views.
I want it to show the translated posts of each language when I click the language switcher to switch the language.
I have two language prefixes (url code):
'en' and 'fa'
mysite.com/en
mysite.com/fa
I set in a contexual filter of that block view to show just the nodes of the specific language by raw value from url set to 1, but it considers the next value of language code as the first parameter.
What should I do to make Drupal consider the language code as the first value?