localization - display arabic numbers in ASP.NET -
i use vs2010,c# develop asp.net web app, want display numbers in arabic/farsi mode, mean both markup numbers , numbers displayed through code, options? i've used lang="ar", dir="rtl" nothing changes, should users change in browsers? i've seen several sites display arabic numbers i've not changed browser settings @ all! should convert in code? markup pages?
thanks
i think of related users system configurations. ex: in windows vista, server 2008 control panel => region , language settings => additional settings => numbers tab => check standard digits , use native digits options
however should doing following in code:
system.threading.thread.currentthread.currentculture = new cultureinfo("ar-eg"); system.threading.thread.currentthread.currentuiculture = new cultureinfo("ar-eg");
Comments
Post a Comment