yysskk / SwipeMenuViewController

Swipable tab and menu View and ViewController.
MIT License
1.29k stars 131 forks source link

Arabic Language not Supported #60

Open kkevinnpatel opened 6 years ago

kkevinnpatel commented 6 years ago

Hi, In other language supported well, but in my project also support Arabic language. and when i change device language, Content not show.

KamleshShingarakhiya commented 5 years ago

You need to go class SwipeMenuView and find 'var tabView: TabView?' and replace with this

open fileprivate(set) var tabView: TabView? {
        didSet {
            guard let tabView = tabView else { return }
            tabView.dataSource = self
            tabView.tabViewDelegate = self
            tabView.semanticContentAttribute = .forceLeftToRight
            addSubview(tabView)
            layout(tabView: tabView)
        }
    }
KiranDhokale8118 commented 4 years ago

Still not working ..please help

AbdulRehmanWarraich commented 4 years ago

Hi, I have added RTL language support. You can check on following URL [https://github.com/AbdulRehmanWarraich/SwipeMenuViewController].

I have created pull request and waiting to get merged in main branch.

hilajqinnovation commented 4 years ago

Hi @AbdulRehmanWarraich, Can you please explain? I still have no idea.

hilajqinnovation commented 4 years ago

Hi @yysskk, Will it support RTL with Arabic language? In my case swipeMenuViewController is working fine with LTR(English). But when I switched to RTL(Arabic), the swipeMenu is disappeared. But when I scroll the swipeMenu from left to right, it is showing, but when I release the scroll, it again get disappeared. Please help me.