RTL Support
See original GitHub issueWhat problem does this feature solve?
Currently Ant-Design in v4 supports rtl in all components and demos, in this issue i want to add progress of making all components of ng-zorro-antd support rtl.
What does the proposed API look like?
dir: Direction = 'ltr';
constructor(
private cdr: ChangeDetectorRef,
@Optional() private directionality: Directionality
) {}
ngOnInit(): void {
this.directionality.change?.pipe(takeUntil(this.destroy$)).subscribe((direction: Direction) => {
this.dir = direction;
this.cdr.detectChanges();
});
this.dir = this.directionality.value;
}
<div
#tableMainElement
class="ant-table"
[class.ant-table-rtl]="dir === 'rtl'"
>
</div>
RTL Progress #4703
- Button
- Icon
- Typography
- Grid
- Layout
- Affix
- Breadcrumb
- Dropdown
- Menu
- Pagination
- PageHeader
- Steps
- AutoComplete
- CheckBox
- Cascader
- DatePicker
- Form: hdm91
- InputNumber: hdm91
- Input: hdm91
- Mention
- Rate
- Radio
- Switch
- Slider: hdm91
- Select
- TreeSelect
- Transfer: hdm91
- TimePicker
- Upload: hdm91
- Avatar
- Badge
- Comment
- Collapse: hdm91
- Carousel
- Card
- Calendar
- Description List
- Empty
- List: hdm91
- Popover
- Statistic
- Tree: hdm91
- Tooltip
- Timeline
- Tag
- Tabs: hdm91
- Table
- Alert: hdm91
- Drawer
- Modal: hdm91
- Message
- Notification
- Progress
- Popconfirm
- Result
- Spin: hdm91
- Skeleton
- Anchor (No need to RTL)
- BackTop
- ConfigProvider
- Divider (No need to RTL)
- Front page
Issue Analytics
- State:
- Created 4 years ago
- Reactions:22
- Comments:28 (21 by maintainers)
Top Results From Across the Web
RTL Support in Web Applications - Scott Logic Blog
Typically in web applications supporting one of these languages, everything is reversed, meaning scroll bars, progress indicators, buttons etc.
Read more >RTL Support | Quasar Framework
RTL is tightly coupled to Quasar Language Packs. When Quasar is set to use an RTL language (language pack has “rtl” prop set...
Read more >RTL Support on Android. Here is all you need to know - Medium
To handle them, Android supports RTL layouts from API 17+ i.e., Android 4.2 (Jelly Bean) . Getting Started. In order to support RTL...
Read more >RTL Support - Chakra UI
Chakra UI provides built-in support right-to-left (RTL) languages like arabic and hebrew, out of the box.
Read more >RTL · Bootstrap v5.0
Learn how to enable support for right-to-left text in Bootstrap across our layout, components, and utilities.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @saeedrahimi thanks for your participation in ng zorro RTL support , i will be happy to help you.
Thank you @saeedrahimi for supporting this any clue when this will be completed & released ?
Thanks again.