Right to left for moodle mobile

Right to left for moodle mobile

by Farzin Khalilzadeh -
Number of replies: 2
Hi all,

I would like to know if moodle mobile app supports right-to-left languages properly. I've been looking around for a bit and came across this issue:

https://tracker.moodle.org/browse/MOBILE-649

I tried a few of the changes mentioned in it but still have some problems like side menu appearing on left side and elements side not changing when the language is changed on the run.
Since I'm new to moodle and moodle mobile I might have not done some parts correctly.
It seems to me that there might be the need to know some deep fundamentals about ionic framework in order to make this work. If so then which part should I concentrate on and begin with?
It would be great if there was a straight forward way to change your mobile app to RTL but I'm still eager to try any other hard way.
Average of ratings: Useful (1)
In reply to Farzin Khalilzadeh

Re: Right to left for moodle mobile

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi Farzin,

we haven't looked at that issue for a long while, but Ionic 1 didn't have any easy way to support RTL so we decided to delay that issue.

We're planning to migrate the app to Ionic 3. I haven't tried it, but it seems Ionic 3 has a better support for RTL:

http://blog.ionic.io/ionic-and-rtl/

So when we migrate to Ionic 3 we'll try to fix the RTL issue too.

Cheers,

Dani

In reply to Farzin Khalilzadeh

Re: Right to left for moodle mobile

by Mahendra Soni -

Hi Farzin,

I'm sharing links here again

https://github.com/msoni11/ionic/releases/tag/v.1.1.1-rtl.1

I've added steps of how to use it with your moodle application.

http://msoni11.blogspot.in/

I'm confident about these changes as I've applied it to one of our live app on stores.


Since you are using v1.3.2, I've to apply my RTL changes to 1.3.2 version in ionic. If you want you can try understanding the code we've added in 5 recent commits here

https://github.com/msoni11/ionic/commits/v.1.1.1-rtl.1


Thanks,

msoni