Closed nadavten closed 8 years ago
@hshahdoost anything to add on this?
How did u get the hebrew to show?
On Thu, Mar 17, 2016, 16:47 James Willock notifications@github.com wrote:
@hshahdoost https://github.com/hshahdoost anything to add on this?
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/issues/288#issuecomment-197911112
@nadavten Set the FrameworkElement.Language
property of your calendar, or apply the xml:lang
attribute to the XAML of your control.
I did set xml:lang="he-IL" and its not doing the job
On Thu, Mar 17, 2016, 18:39 Jeremy notifications@github.com wrote:
@nadavten https://github.com/nadavten Set the FrameworkElement.Language property of your control, or apply the xml:lang attribute to the XAML of your control.
— You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/issues/288#issuecomment-197965269
OK, I see the problem. Doing either of the approaches I suggested won't work for now. If you set the CurrentUICulture
to he-IL
, things should work - that's how I got the picture before.
thank you very much !
@ButchersBoy I'm sorry it took so long to answer, I haven't worked on the calendar since persian calendar follows a totally different story. but if it's required I can make the calendar right to left as well.
Hi nadavten,
Please forgive my ignorance, as I'm learning about the nuances of RTL UI on-the-fly here.
I think all you should need to do is set
FlowDirection="RightToLeft"
somewhere in the logical tree, since just having theCurrentUICulture
be a RTL language doesn't actually orient things for you this way in WPF.Before:![image](https://cloud.githubusercontent.com/assets/838256/13848992/363277d4-ec22-11e5-83ec-2a529ca038b5.png)
After:![image](https://cloud.githubusercontent.com/assets/838256/13849035/615f8e38-ec22-11e5-8d3b-c6caac6fbff5.png)
Is this what you were looking for, or is there another problem that is unaddressed here?