-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Right-to-left language support #22730
Comments
/kind feature |
For visibility adding generalized support for this is an open issue in hugo: gohugoio/hugo#3255. This issue also proposes a reasonable stop-gap solution. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Also see #37546 |
/reopen |
@sftim: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/remove-lifecycle rotten /area localization |
In his preview we can see the issue with the logo position when changing the language to Arabic : |
The key things I think we should do are:
|
Per the SIG docs meeting and as a follow-up, could we try segregating the work in consumable chunks that several people could pick up independently? |
Probably we can open a discussion on github and also slack and we go through the following points :
|
FYI, I've slated some time this week to start working on Docsy RTL support (google/docsy#1442). I'm off next week, so I don't know when it'll get wrapped up. Again, FYI.
|
@chalin if you want to talk about the challenges in broad strokes (I don't speak any language usually written RTL, so I'm not the right person for fine details), I can make time in the next few months. Nudge me on K8s Slack if this sounds useful. |
Here's a preview of Docsy RTL support: https://deploy-preview-2002--docsydocs.netlify.app/docs/ using the Edit: if it looks ok overall, I can update the Docsy example, which has pages written in an actual RTL language for a better preview. Thanks for the offer @sftim, I may take you up on it if necessary -- maybe the changes illustrated above cover the necessary bases? |
Thanks @chalin That preview seems managing the navbar nicely but I still can see an issue with current page path, the slash is not in the correct place : I am sure on the docsy example it would look much better than what we have on k8s because on k8s we are not using native docsy layout for |
I think we could switch Kubernetes to native layouts more (see #41171) |
@mboukhalfa et al. - could you have another look at the preview, I've fixed some issues: https://deploy-preview-2002--docsydocs.netlify.app/docs/language/ |
Great work @chalin looks good to me from the preview I will take a detailed look later and check the implementation If you can link me to the code PR would be nice ! I am not sure if the menu with small device preview stay in horizontal list still the expected behavior ? |
It's google/docsy#2002 |
|
I've linked some PRs to #41171 that help pave the way to using more upstream Docsy support, and eventually to adding RTL language support. |
Status update: after a change in implementation strategy, Docsy's RTL support is looking good. All known issues (e.g., with the navs and footer) have been resolved. Site previews:
As was mentioned before, if you have questions or comment about Docsy RTL, add them to one of:
If no other issues are found, then I'll be updating the Docsy docs to explain how to set up RTL support, and then publish an official version. Please give a thumbs up to google/docsy#1442 if you haven't already. |
Thank you for pushing this through the long haul @chalin—we're looking forward to pulling this into Kubernetes! |
This is a Feature Request
What would you like to be added
Add support for serving the Kubernetes website and displaying it in a right-to-left language such as Arabic, Hebrew or Urdu.
Why is this needed
On the web, content is usually rendered horizontally. Existing merged localizations are all right-to-left, or can be (Chinese and Japanese, for example, are also sometimes written top-to-bottom starting top right).
Comments
We'll need this as part of adding Arabic and Persian.
This is likely to form an umbrella issue with child issues to cover specific topics.
/area web-development
The text was updated successfully, but these errors were encountered: