Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calendar does not support RTL langauge #288

Closed
nadavten opened this issue Mar 12, 2016 · 8 comments
Closed

calendar does not support RTL langauge #288

nadavten opened this issue Mar 12, 2016 · 8 comments

Comments

@nadavten
Copy link

No description provided.

@jdf3
Copy link
Contributor

jdf3 commented Mar 17, 2016

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 the CurrentUICulture be a RTL language doesn't actually orient things for you this way in WPF.

Before:
image

After:
image

Is this what you were looking for, or is there another problem that is unaddressed here?

@ButchersBoy
Copy link
Collaborator

@hshahdoost anything to add on this?

@nadavten
Copy link
Author

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
#288 (comment)

@jdf3
Copy link
Contributor

jdf3 commented Mar 17, 2016

@nadavten Set the FrameworkElement.Language property of your calendar, or apply the xml:lang attribute to the XAML of your control.

@nadavten
Copy link
Author

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
#288 (comment)

@jdf3
Copy link
Contributor

jdf3 commented Mar 17, 2016

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.

@nadavten
Copy link
Author

thank you very much !

@hshahdoost
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants