Skip to content
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

New arabic language package #56

Closed

Conversation

muhammetsait
Copy link

Hey, I added Arabic translation; however, there is still more work to be done: the page direction should become RTL when choosing Arabic language... not sure how to do it.

added Arabic langpack
Add entry for Arabic language in the languages dropdown menu
Some fixes on the translation
@cyntss
Copy link
Collaborator

cyntss commented Sep 22, 2015

@msaied93 thank you for the contribution. Can you try to look into how to change the direction to RTL ?
I will try to help you when I have some time, but at the moment im solving many other issues we have so I would really appreciate it if you could try to fix it yourself 😃

Add an event handler to switch page direction when choosing ar lang.
@muhammetsait
Copy link
Author

Well, I guess that does the trick.

@@ -252,6 +253,19 @@ $(document).on("ready", function(){
}

});

//change page direction when changing lang into/from ar
$(window.lang).on("afterUpdate", function (event, currentLang, newLang, pack1, pack2) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are you passing the arguments event, pack1 and pack2 ? I dont see where you are using them below

@cyntss
Copy link
Collaborator

cyntss commented Sep 25, 2015

There seem to be other conflicts with the animation and general layout. This PR will require much more work than just changing the css to direction: rtl. IMO.

@coolo
Copy link
Member

coolo commented Oct 28, 2015

Can you move the actual translations to subversions?

@lnussel
Copy link
Member

lnussel commented Jan 20, 2016

I've opened #81 to implement the missing features, closing

@lnussel lnussel closed this Jan 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants