return to current url when switching language

Add a path variable to locals so that the language switcher can return
to the current page when changing language