I kinda just hardcoded it in. I only needed it for 1 page, and for only like 4 or 5 items, so I left the buttons and labels I needed with no text and when the page loads based on the langauge it ask for it just kicks in my code.
Not the best and ideal way, but working on a tight deadline, for preliminary copy, but still have time to finish up the final version. If I ever firgue it out, I'll post the solution to the forumCode:Private Sub SetLanguageSwitchButton() If GetLanguage() = "1" Then btnSwitchLanguage.Text = "Français" lblOnlineHelp.Text = "ADMS Online Help" Page.Title = "New Help" copyID.Text = "Copyright 2011" poweredById.Text = "Powered by Honesty, Integrity, Teamwork, Leadership and Respect!" top.Text = "Top" btnPrint.InnerText = "Print" Else btnSwitchLanguage.Text = "English" lblOnlineHelp.Text = "SGPA Aide en Ligne" Page.Title = "Aide Nouveau" copyID.Text = "droit d'auteur 2011" poweredById.Text = "Propulsé par Honnêteté, intégrité, travail d'équipe, le leadership et le respect!" top.Text = "Haut de la page" btnPrint.InnerText = "Imprimer" End If End Sub




Reply With Quote