In my publishing site I have two variation labels "English" and "French", with "English" being the source language. When I navigate to a "French" variation of the page my french resource files are used to display text.
When I launch a modal dialog, it does not display the text in french, but in English.
My modal dialog page is a separate application page that has two resource files. No matter what, it always grabs the text from the english resource file.
Further, when I check the current language of the pop up using:
SPContext.Current.Web.Language
or
System.Threading.Thread.CurrentThread.CurrentUICulture.LCID
on my master page this value is "1036", which is French. On my modal popup this value is always "1033", which is English.
Any ideas how I can get my modal popups to keep the same language?