I want to localize an application, and currently use the App_LocalResource
resx files for language changes. However, I want to change the layout of the controls on an ASPX page dependant on locale. I know it is possible to set visible from the resx file.
For example; my default (en-US) could have
"firstname" : [textbox]
"surname" : [textbox]
where as de-DE I would want to swop the order
"surname" : [textbox]
"firstname" : [textbox]
The aspx pages will use the same CodeBehind.
I guess what Im looking for is something along the lines of having;
- default.aspx
- default.de-DE.aspx
- default.aspx.cs
Where the default.de-DE.aspx contains all the same controls etc as default.aspx and even has the same directive;
<%@ Page CodeFile="Default.aspx.cs" Inherits="MyNamespace.Default" %>
Then the .NET framework picks up this one rather than default.aspx layout..