Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How to implement this plugin in right to left (RTL) language?
Thanks in advance
That is kind, thank you!
Would it work if you just add the dir="RTL" attribute in your content? For example:
<p dir="RTL">some text in RTL</p>
Otherwise, if there is some feature missing from the package that could help, please let me know and I will try to update it. I am sorry that I do not have a lot of experience with RTL languages, so I am not sure what the package should do.
Many thanks for your response!
I am stuck from last week to translate my website in RTL (Pashto and Dari), but I can't do that by proper way, could you please help me in this issue.
If you tell me what the problem is maybe I can give some advice. Or if there is some feature missing from Polyglot that would help with RTL languages I could add it, if you let me know what is missing exactly.
My problem is that, when I change language in drop down list from English to our local language (Pashto or Dari), the whole web site layout must be changed from LTR to RTL, but it's not.
You probably need to add some conditional statements in your views. For example, for the top HTML tag, you could do:
var lang = Request.Params["lang"];
if (lang== "(the RTL language)")
The code above may not be 100% correct. I have just written it now without testing. But I think that that should be the general idea, even though I do not have much experience with RTL layouts... I hope this helps!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted