Get language path prefix code as contexual filter parameter
In Views with i18n there is also a filter available for that matter:


  Content: Language


You can set this to 'Current user's language' in order to filter your content based on the selected language.