473,402 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

ASP.NET and right-to-left and bidirectional languages

Hello everyone,

I've just read something about ASP.NET localization in the Dutch
..NET magazine, but one question I had about it wasn't answered
in the article ...

What do I need to do to make ASP.NET applications support
right-to-left ( Arabic ? ) and bidirectional ( Hebrew ? )
languages ? I guess just localizing the strings isn't enough
as the user interface probably needs to be mirrored as well ??

Best regards,

Eric
Nov 18 '05 #1
3 1771
Jos
Eric Veltman wrote:
Hello everyone,

I've just read something about ASP.NET localization in the Dutch
.NET magazine, but one question I had about it wasn't answered
in the article ...

What do I need to do to make ASP.NET applications support
right-to-left ( Arabic ? ) and bidirectional ( Hebrew ? )
languages ? I guess just localizing the strings isn't enough
as the user interface probably needs to be mirrored as well ??

Best regards,

Eric


Just use the <html dir="rtl"> attribute.
See:
http://msdn.microsoft.com/library/en...nghtmltags.asp

--

Jos Branders
Nov 18 '05 #2
Hello Jos,

Jos wrote:
Just use the <html dir="rtl"> attribute.
See:
http://msdn.microsoft.com/library/en-us/vbcon/html

vbtskdisplayingrighttolefttextusinghtmltags.asp

Thanks for the tip !

Best regards,

Eric
Nov 18 '05 #3
Eric Veltman wrote:
Hello Jos,

Jos wrote:
Just use the <html dir="rtl"> attribute.
See:
http://msdn.microsoft.com/library/en-us/vbcon/html

vbtskdisplayingrighttolefttextusinghtmltags.asp


Note in Visual Studio .NET, you can set this property
via the WebForm DOCUMENT's "dir" property, which
has a dropdown list of "ltr" and "rtl".

Plus if you use the ID and RUNAT attributes for the HTML tag
<HTML id="htmlID" runat="server" dir="rtl">
with a code-behind generic html control variable
protected System.Web.UI.HtmlControls.HtmlGenericControl htmlID;
you can get or set the "dir" attribute value as follows
string dir = htmlID.Attributes["dir"];
htmlID.Attributes["dir"] = "rtl";

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP

Hire top-notch developers at
http://www.able-consulting.com
Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Ted Mencini | last post by:
When I replaced older <IMG ALIGN=RIGHT ...> tags with a CSS definition <IMG class=right ...> xxx.css: IMG.right { BORDER: 0; align: right } I notice that the effect is NOT the same....
6
by: Stephen Miller | last post by:
Hi, How can I configure an ordered list so that the bullet is placed on the right hand side of the list item. ie: list item 1 * list item 2 * list item 3 * Thanks,
9
by: leegold | last post by:
Why does float:right cause a line break? Try the code below. Is there a fix? I want the link on the same line as the text. Thanks <html> <head> <STYLE> span.linkpos { float:right; clear:...
7
by: anna | last post by:
Is it possible to have a javascript function which can scroll a page to the far right when a link is clicked? Any code examples available? TIA, Anna
12
by: deanfamily11 | last post by:
Now, I've made a program that when the user enters 3 numbers, it is supposed to tell the user if it is a right triangle by using the quadratic equation (a^2 + b^2 = c^2). Now, granted it can be...
7
by: Robert | last post by:
Can I programmatically disable the right click context menu?
9
by: Domac | last post by:
What happened with right function ?? What is it's substitute???
1
by: Alan T | last post by:
I selected a node in treeview, however, if I right click another node and after exited the pop up menu this "right clicked" node is not selected. How do I make this "right clicked" node is selected...
25
by: johnmsimon | last post by:
i need to develop a code that finds a prime right number between 2 and 100000. and print one line of text that indicates if the int. is right prime. i am in beginning programing so complex is...
12
by: Dio1080 | last post by:
Ok, I need help on a for loop nested program using for loops, I'm trying to use a patten that goes like this: 123456 12345 1234 123 12 1 but when I try it, it goes like this: 123456
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.