I have used the localization inside sitefinity for my website with persistenceMode="PathPrefix". However I have only two languages and in my master page i have a Hyperlink that shows the name of the other language available, let's say i'm in the English version so i have think Hyperlink on the top of my master page saying "Italian". What i want to do is to be able to change the language through code instead of using the Language bar that's shipped with Sitefinity because i only have these two languages.
Another problem that i'm having is that i have couple of links on my master page that redirects to external pages [I have added these pages to sitefinity and set the external link]. When i'm in the italian version and i click on one of these links in the master page, i'm redirected to the default version which is english while i should be redirected to the italian version of this page i.e. Contact us [Contact us is a custom form that i have created as external page in visual studio]
Appreciate your help in advance.