Fixed the local switcher for non-translatable entities

I also moved the createNavigationElement() method out of the ApplicationController and put it instead into the frontend and backend BaseControllers because their routing parameters are different.