plone/plone.app.i18n — pull request #1 by Gagaro (2014-06-18 10:00:06+00:00)
Title: fix: add view to switchLanguage url

When switching languange from a context with a /view (i.e.: a File), the absolute_url is used to create the url to the switchLanguage script and thus the view is not used.

In the case of a File, this will cause the file to download instead of changing the language. Using request/getURL include the view in the url.