Fix RTL support for Landscape page headings (#4484)#4780
Open
NETIZEN-11 wants to merge 4 commits intocncf:masterfrom
Open
Fix RTL support for Landscape page headings (#4484)#4780NETIZEN-11 wants to merge 4 commits intocncf:masterfrom
NETIZEN-11 wants to merge 4 commits intocncf:masterfrom
Conversation
- Introduce localization section in landscape.yml with RTL configuration - Add Persian translation (fa.json) with category/subcategory names and metadata - Provide documentation for localization schema, RTL implementation, and examples - Include RTL stylesheet and HTML template for testing - Update README in localizations directory with overview and guidelines Signed-off-by: NETIZEN-11 <[email protected]>
|
You can preview your changes by visiting this link. Note This feature is still experimental and may not work as expected in some cases. Please report any issues you find! |
5a7a3c1 to
724a43f
Compare
- Add landscape-rtl.css for RTL heading alignment - Add landscape-rtl-integration.js for automatic translation - Add complete Persian translations (75 items) - Add test-rtl.html for testing RTL functionality Fixes: - Headings now right-aligned when dir='rtl' - Headings fully translatable in Persian - Automatic language detection and switching - No regression for LTR layout Ready for integration into kubernetes/website Signed-off-by: NETIZEN-11 <[email protected]>
21b207d to
1121a27
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds proper RTL (Right-to-Left) support for the Landscape page.
Problem
Currently, the Landscape page does not fully support RTL languages such as Persian (fa):
dir="rtl"This affects readability and consistency for RTL users.
Changes Made
dir="rtl"Result
Pre-submission checklist:
Please check each of these after submitting your pull request:
dir="rtl"Testing
Fixes #4484