Hello Alex,
As for right-to-left/RTL text, they're mostly used in some middle-east
languages and dealing with these text in globalization development is
normally calld "BIDI" text processing.
Based on my experience, for web application, BIDI text displaying is mainly
supported through some HTML/XHTML standards setting, such as the "dir"
attributes. e.g.
<span dir="rtl" > ................</span>
You can find most information about BIDI text processing in the following
I18N portal site:
#Bidirectional text
http://www.w3.org/International/resource-index#bidi
In Microsoft Visual Studio .NET, you can create ASP.NET applications by
using either Microsoft Visual Basic .NET or Microsoft Visual C# .NET. The
guidelines that you should follow are basically the same as those you have
just seen for mirroring Web content. When you design Arabic Web Forms
pages, the best way to make text flow from right to left is to use the DIR
attribute. As with Web content, this attribute is usually placed in the
<HTML> tag or the <BODY> tag. Controls and HTML elements on the page then
inherit the specified direction.
You can set the DIR attribute at a DOCUMENT object level. All the controls
on the form will inherit the same settings. However, the DIR attribute can
be used individually with other tags such as <TABLE> and in Web Forms
controls, as in the following example, which allows items to be displayed
from right to left. e.g.
<TABLE dir="rtl" ...>
<asp:TextBox dir="rtl" ...>
In addition, here are some other resource about developing BIDI text awared
application(desktop and web):
**some slides from some MS localization engineers:
http://download.microsoft.com/download/2/9/8/2980df93-dc7e-4794-96b2-4559295
43124/Developing%20Arabic%20Applications%20in%20VS%202005.ppt
**public reference on developing middleeast specific software:
http://www.microsoft.com/middleeast/msdn
http://www.microsoft.com/middleeast/msdn/arabicsupp.aspx#22
http://www.microsoft.com/globaldev/getwr/steps/WRG_mirror.mspx#EWIAC
** A good globaldev book:
"Developing International Software / Dr. International-- 2nd ed" (there is
a chapter there about bidi in asp.net)
Hope this helps.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.