Is there any way to determine text direction from CultureInfo in asp.net?
C#asp.netLocalizationC# Problem Overview
I have looked around, but I have been unable to figure this out, some languages are read and written from right to left, instead of left to right. It seems like a no-brainer to be able to get the text direction from the CultureInfo object somehow, but I have not seen it anywhere. Am I missing something?
C# Solutions
Solution 1 - C#
System.Globalization.CultureInfo.CurrentCulture.TextInfo.IsRightToLeft
This will return true if the current culture is read from right to left.