Thank you for reporting these issues. In order to properly track these issues, please report this in the WordPres Trac system.
About the %%% encoding — that is a browser “feature” outside of WP. It’s the underlying encoding used for all non-Latin characters to ensure compatibility regardless of character set used. It’s still a valid link and it will be displayed with Arabic characters when the page loads. Of course the encoded link is impossible for humans to read and is unsightly, but it otherwise works normally.
Joy
(@joyously)
Are all of these in the WP admin pages? (it’s sort of difficult to determine)
I read somewhere that telephone number inputs should always be LTR, so I put that style in my theme. Are you saying that is true for url inputs also? (I would like to get it correct in my theme.) Would that apply to any other types of inputs, like email or date or time?
@joyously , number or Url or email should start from left to right direction
about “url” even if it include arabic letter should start from left to right direction
if I write in arabic you will be confusing to understand it,
I need to record a video to explain you why the url show wrong place of category, but instead I do my best to explain to you and this is an example :
in url you will see the first word after “category” will write like this : category/دروس/
but the second word in arabic after “category/دروس” will write like this :
category/دروس/تعلم-السياقة this is a problem , because the second word in arabic must be the last word in url , like this category/تعلم-السياقة/دروس
-
This reply was modified 6 years, 10 months ago by
rachid84.
@bcworkz thank you for the link , I have past the topic on wordpress trac system,
about Url in browser show %%% you’re right probably it comes from browser it self, but inside page and post you can fix it using urldecod .
Joy
(@joyously)
Thanks, I understood your first explanation. I just wanted to confirm how my theme should style certain inputs. I have this now in my theme:
.rtl input[type="url"],
.rtl input[type="email"],
.rtl input[type="tel"],
.rtl [href^="tel:"] {
direction: ltr;
}
but it assumes that the link text for a telephone number is the number. That might not be a good assumption…
@joyously can you please host your example and send me the link to test it, it much to understand your code
Joy
(@joyously)
@rachid84 I have made a sandbox site and put the input fields on the Hello World post. The content is in English, but I switched the site to Arabic so you could test it. What I am wanting to know is the inputs that need to be LTR even though the site is RTL. I loaded my theme with the styling I mentioned previously.
This sandbox site expires in 24 hours.
https://s-qsvakq5v4s54k.eu1.wpsandbox.org/hello-world/
sandox creation is at https://wpsandbox.net/
@joyously https://prnt.sc/oj4vvm
everything is ok just two things ( time and password)
for password for example if someone insert like this +1111110
if you change the type of input password from “password” to “text” you’ll see like this 1111110+
for time will be start from left to right,
I click on the first one on the left I write number 24 when I click on tab key it go to color section, it must go to the next time input, [24 : 00]
Joy
(@joyously)
OK, thank you for testing!
I think both of those things are because of the browser. There is nothing I can do in the theme for that.