Link for switch language How do I make a link to switch the language, without using any modules? When users click on a language I want to switch language and redirect them to the same page not to front page.
I assume you are already using the Internationalization (i18n) module. i18n provides the Language Switcher block, which contains links to switch among all enabled languages. When the user chooses one of the links in it, he is redirected to the corresponding page rendered in the newly-selected language.

Note that the block is only shown if at least two languages are enabled and language negotiation is set to something other than None.