Last post May 01, 2007 03:13 AM by vivek_iit
Apr 30, 2007 04:21 PM|Mourad|LINK
I am trying to localize an ASP.NET application from English to Arabic, and one thing I have to do is the following:
Change direction "dir" attribute on ALL pages to "rtl"(right-to-left) with an ability to switch back and forth dynamically (perhaps have the user decide what language they want to use upon login). But I have these problems:
a) Do I have to add this attribute on EVERY single page ? Is there a way to set it programmatically for ALL pages ?
b) How do I change that attribute programmatically ? also for ALL pages ?
I appreciate your help.
May 01, 2007 03:13 AM|vivek_iit|LINK
You can set the direction attribute in the resource file itself as shown in this article (last section):
Hope this helps,