Silverlight 3: Hebrew and Arabic Support

July 10, 2009

Since I’m constantly getting many questions about Hebrew and Arabic support and also huge amount of requests to provide/support it, I’ve updated the SilverlightRTL project at codeplex to support Silverlight 3.

The project homepage here.

Latest release for Silverlight 3 RTW is here.

 

The updated source also includes sample application to demonstrate Bidi controls usage and comparison with standard core controls with Hebrew and Arabic:

clip_image002 

clip_image002[12]

 

Enjoy,

Alex

Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*

64 comments

  1. AhmedJuly 12, 2009 ב 1:57

    It doesn’t work with me
    I’ve but the refrence and xmlns for it and I have change the name space of some linkbuttons
    to the xmlns did I miss any steps
    thanks for adotbting our languages
    and please keep going .

    Reply
  2. Alex GoleshJuly 12, 2009 ב 6:21

    Ahmed:
    Download the working sample with usage example from here (always get latest version):

    http://silverlightrtl.codeplex.com/SourceControl/ListDownloadableCommits.aspx

    Regards,
    Alex

    Reply
  3. IvanJuly 19, 2009 ב 11:09

    Can you, please, put there some example of using these controls.

    And what about English and Hebrew in same textbox. 2.0 RC it was failed sometimes?

    Reply
  4. Alex GoleshJuly 19, 2009 ב 12:38

    Ivan:
    Sample here – download the whole solution from codeplex:
    http://silverlightrtl.codeplex.com/SourceControl/ListDownloadableCommits.aspx

    Regarding ENG & HEB – same here.

    Alex

    Reply
  5. babak ravandiJuly 22, 2009 ב 20:41

    hello

    thank you so much for this great work

    i am getting error when i write لام in text box

    could you please solve this ?

    babak@ravandi.ir
    thank you

    error message :

    Cannot resolve TargetName BidiDisabledOverlay.

    at MS.Internal.XcpImports.VisualStateManager_GoToState(Control reference, String StateName, Boolean useTransitions)
    at System.Windows.VisualStateManager.GoToState(Control control, String stateName, Boolean useTransitions)
    at System.Windows.Controls.Control.GoToState(Boolean useTransitions, String stateName)
    at System.Windows.Controls.HyperlinkButton.ChangeVisualState(Boolean useTransitions)
    at System.Windows.Controls.Primitives.ButtonBase.UpdateVisualState(Boolean useTransitions)
    at System.Windows.Controls.Primitives.ButtonBase.UpdateVisualState()
    at System.Windows.Controls.Primitives.ButtonBase.OnIsEnabledChanged(IsEnabledChangedEventArgs e)
    at System.Windows.Controls.Control.OnIsEnabledChanged(Control control, EventArgs args)
    at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

    Reply
  6. Saeed TabriziJuly 23, 2009 ב 4:24

    There is a problem with some words in arabic , for example : ‘سلام’ .
    when you type this word , you will see an exception .
    Can you debug it ?

    Reply
  7. Saeed TabriziJuly 23, 2009 ב 4:24

    There is a problem with some words in arabic , for example : ‘سلام’ .
    when you type this word , you will see an exception .
    Can you debug it ?

    Reply
  8. Alex GoleshJuly 23, 2009 ב 17:24

    babak ravandi, Saeed Tabrizi: I’ll install arabic keyboard and will try. which letters are those (corresponding to ENG keyboard)?

    Sorry, I don’t speak Arabic 🙂

    Alex

    Reply
  9. babak ravandiJuly 24, 2009 ב 1:37

    hello thank you for reply

    i think i didnt installed arabic keybord

    i have a windows vista and used Persian keyword

    thank you

    Reply
  10. babak ravandiJuly 24, 2009 ב 1:39

    me and Saeed Tabrizi are Iranian we want use this component for persian(farsi) language .

    thank you

    Reply
  11. babak ravandiJuly 24, 2009 ב 2:21

    sorry i didnt understand
    “which letters are those (corresponding to ENG keyboard)”

    😀

    the letters are –> ghl

    press ghl in persian keybord please

    thank you

    Reply
  12. BerchickAugust 4, 2009 ב 14:39

    Is there a solution for the multyline hebrew textbox ?
    I’ve tried the AcceptsReturn but still… it works only sometimes and act very strange…
    🙂

    Any ideas… fixes… ?

    Many thanks

    Hai

    Reply
  13. babak ravandiAugust 7, 2009 ב 23:58

    hello did u tried debug it ?

    thank you

    Reply
  14. Alex GoleshAugust 8, 2009 ב 7:46

    babak ravandi: No, I didn’t and I will not, bacause I don’t speak arabic, farsi, etc. Please contact Yasser Makram via project’s codeplex site (http://silverlightrtl.codeplex.com/) -> hopefuly he will be able to help you with issues you have.

    Alex

    Reply
  15. ClothingSeptember 6, 2009 ב 23:54

    Wow! Its imposible… I’m realy shocked :/

    Reply
  16. uriOctober 31, 2009 ב 22:22

    I don’t understand how do i install the hebrew support. I have two files – .dll and .pdb but don’t know what to do with them…

    Reply
  17. PreletiliaOctober 30, 2010 ב 17:28

    Very Interesting Information! Thank You For Thi Post!

    Reply
  18. PreletiliaNovember 4, 2010 ב 11:15

    You certainly deserve a round of applause for your post and more specifically, your blog in general. Very high quality material

    Reply
  19. weightlossstpNovember 10, 2010 ב 11:33

    I’ve been visiting your blog for a while now and I always find a gem in your new posts. Thanks for sharing.

    Reply
  20. spywarecxcoqNovember 10, 2010 ב 12:18

    You certainly deserve a round of applause for your post and more specifically, your blog in general. Very high quality material

    Reply
  21. PreletiliaNovember 15, 2010 ב 11:46

    Awesome Blog. I add this Blog to my bookmarks.

    Reply
  22. spywareubrdiNovember 15, 2010 ב 23:02

    You certainly deserve a round of applause for your post and more specifically, your blog in general. Very high quality material

    Reply
  23. weightlostmuoNovember 16, 2010 ב 12:31

    I just book marked your blog on Digg and StumbleUpon.I enjoy reading your commentaries.

    Reply
  24. cleanpcoujsxNovember 16, 2010 ב 12:39

    You certainly have some agreeable opinions and views. Your blog provides a fresh look at the subject.

    Reply
  25. lostpoundsbymNovember 24, 2010 ב 21:30

    Great Post. I add this Blog to my bookmarks.

    Reply
  26. DrercerfobNovember 24, 2010 ב 21:34

    I find myself coming to your blog more and more often to the point where my visits are almost daily now!

    Reply
  27. weightlostgapNovember 25, 2010 ב 10:52

    Great Blog. I add this Blog to my bookmarks.

    Reply
  28. antispywarefqabeNovember 25, 2010 ב 10:59

    You certainly deserve a round of applause for your post and more specifically, your blog in general. Very high quality material

    Reply
  29. fatburnskoDecember 15, 2010 ב 11:13

    I’ve been visiting your blog for a while now and I always find a gem in your new posts. Thanks for sharing.

    Reply
  30. cleanpciogobDecember 26, 2010 ב 13:35

    Very informative post. Thanks for taking the time to share your view with us.

    Reply
  31. weightlossairDecember 26, 2010 ב 13:35

    You certainly have some agreeable opinions and views. Your blog provides a fresh look at the subject.

    Reply
  32. spywarempdgbDecember 27, 2010 ב 12:30

    Very Interesting Blog! Thank You For Thi Blog!

    Reply
  33. weightlostlqyDecember 29, 2010 ב 22:09

    I’ve been visiting your blog for a while now and I always find a gem in your new posts. Thanks for sharing.

    Reply
  34. spywarexmoksDecember 29, 2010 ב 22:11

    Awesome Post. I add this Blog to my bookmarks.

    Reply
  35. spywarecdcjzDecember 31, 2010 ב 15:46

    Awesome Post. I add this Post to my bookmarks.

    Reply
  36. lesspoundsjutDecember 31, 2010 ב 15:47

    Very informative post. Thanks for taking the time to share your view with us.

    Reply
  37. weightlosssqyJanuary 1, 2011 ב 21:34

    Very informative post. Thanks for taking the time to share your view with us.

    Reply
  38. spywarekvrkcJanuary 1, 2011 ב 21:36

    You certainly deserve a round of applause for your post and more specifically, your blog in general. Very high quality material

    Reply
  39. fafacouctJanuary 24, 2011 ב 2:15

    Very informative post. Thanks for taking the time to share your view with us.

    Reply
  40. SmicashampackJanuary 26, 2011 ב 2:03

    Awesome Post. I add this Blog to my bookmarks.

    Reply
  41. SmicashampackJanuary 27, 2011 ב 8:05

    You certainly have some agreeable opinions and views. Your blog provides a fresh look at the subject.

    Reply
  42. NuamiffuspitaJanuary 28, 2011 ב 2:14

    You certainly have some agreeable opinions and views. Your blog provides a fresh look at the subject.

    Reply
  43. used vacuum trucks for sale in europe February 2, 2011 ב 21:18

    I just sent this post to a bunch of my friends as I agree with most of what you’re saying here and the way you’ve presented it is awesome.

    Reply
  44. best cheap tramadol February 6, 2011 ב 3:37

    You certainly have some agreeable opinions and views. Your blog provides a fresh look at the subject.

    Reply
  45. used harley davidson in ma February 22, 2011 ב 21:33

    Very informative post. Thanks for taking the time to share your view with us.

    Reply
  46. used gmc vans houston February 25, 2011 ב 11:44

    I just book marked your blog on Digg and StumbleUpon.I enjoy reading your commentaries.

    Reply
  47. enasymnDealiaFebruary 25, 2011 ב 12:43

    I just book marked your blog on Digg and StumbleUpon.I enjoy reading your commentaries.

    Reply
  48. PreallotaFebruary 27, 2011 ב 2:58

    Awesome Blog. I add this Post to my bookmarks.

    Reply
  49. ApepliestApril 4, 2011 ב 5:27

    Very Interesting Information! Thank You For Thi Blog!

    Reply
  50. ApepliestApril 6, 2011 ב 6:34

    I find myself coming to your blog more and more often to the point where my visits are almost daily now!

    Reply
  51. blogs.microsoft.co.ilApril 22, 2011 ב 17:15

    Silverlight 3 hebrew and arabic support.. Very nice 🙂

    Reply
  52. repossessed car for sale April 23, 2011 ב 5:30

    Great Blog. I add this Blog to my bookmarks.

    Reply
  53. ElagogmabibMay 9, 2011 ב 9:35

    Nice article, especially the first paragraph 🙂
    Keep it up!

    Reply
  54. Fahad فہدMay 13, 2011 ב 10:38

    Alex,

    Good work for those who are using Sliverlight(Version < 4.0). I am one of them. I am using the SilverLightRTL Controls and having problems with few of them. For me Controls like TextBox, TextArea are properly displaying the arabic text (Contacatenation and Flow). But for Button, CheckBox, RadioButton arabic is not being displayed correctly. Concatenation of letters is OK but the direction is not correct. Unfortunately these controls dont have FlowDirection Property also. Even the SilverLightRTL sample project has the same problem. Do you have a solution for this?

    Reply
  55. Alex GoleshMay 13, 2011 ב 13:16

    Fahad,

    Try creating a ControlTemplate with TextBox and use those controls (all are Button’s in some way) this way.

    //Alex

    Reply
  56. Fahad فہد May 16, 2011 ב 11:34

    Thanks alex. I did that already what you suggested. But just noticed that on one machine the controls are displaying properly. The problem is coming on few machines.. Do you know what is needed to make browser display the RTL Languages text properly using SilverLightRTL?

    Reply
  57. Alex GoleshMay 16, 2011 ב 12:01

    Fahad,

    Generally nothing… It just should work. Try comparing the browser languages settings with machine which works..

    //Alex

    Reply
  58. envicainkMay 24, 2011 ב 3:06

    Thanks for the sensible critique. Me and my neighbor were just preparing to do some research on this. We got a grab a book from our local library but I think I learned more clear from this post. I am very glad to see such excellent information being shared freely out there.

    Reply
  59. live streaming tvMay 30, 2011 ב 21:59

    Hello, Guys, Simply killing some in between class time on Digg and I found your article . Not normally what I prefer to read about, but it surely was completely worth my time. Thanks.

    Reply
  60. blogs.microsoft.co.ilJune 15, 2011 ב 19:31

    Silverlight 3 hebrew and arabic support.. Slap-up 🙂

    Reply
  61. Fahad فہدJune 21, 2011 ב 10:43

    Hello Alex,

    I got an issue. When we type simple text “This is simple Text”. It appears like “txte telpmis a si sih” in the RTL Textbox. Even for the digits, when we type “123”, it appears like “132”

    Is there some fix for this bug already?

    Reply
  62. Fahad فہدJune 22, 2011 ב 9:46

    When we type “123” in textbox. It appears as “132”. Similarly “This is a test” appears as “t tse ts isih”.

    Do you have a fix for that?

    Reply