Using local resource files for several aspx files
Posted on 2008-10-08
I have a web site that is localized to many languages with the use of local resource files. That is, each aspx files has its own local resource file. Some texts were duplicated but I could live with it.
Now we have made mobile phone suitable versions of a couple of pages. Since these pages mostly use the same texts the duplication of texts is beginning to be a problem.
I know that I could convert to using global resource files to accomplish this. But that would be a lot of work.
Is there a way for me to point an aspx page to use a specific local resource file? So that, for example, my FrontPage.aspx and FrontPageMobile.aspx pages both use the FrontPage.aspx.resx file for texts?
Or is there another clever solution to my problem?