Change direction into right to left

457 views
Skip to first unread message

Roy

unread,
Jun 14, 2011, 9:04:52 AM6/14/11
to OpenTripPlanner Users
Hello,

Is there a way to change the direction of the MainPanel into right to
left?

Best regards,
Roy

Frank

unread,
Jun 14, 2011, 2:36:16 PM6/14/11
to OpenTripPlanner Users
There's no 'easy' way to do this, and AFAIK a right-to-left form panel
has not been tried (nor do I know of any attempts at translation into
either Arabic or Hebrew). This will probably require a fair bit of
Extjs programming and a good refactoring of the code to accomplish.
otp.planner.Forms.makeMainPanel() would be the place to start.

Roy

unread,
Jun 15, 2011, 5:54:49 AM6/15/11
to OpenTripPlanner Users
Thanks Frank. I will check what you pointed out

Vivien Deparday

unread,
Jun 15, 2011, 2:59:55 PM6/15/11
to opentrippl...@googlegroups.com
The Pune demo that you can find here:
http://opentripplanner.org/wiki/Demos has a right-to-left panel. I have
not looked into how they have done it but it might be useful.

Viv

Andrew Byrd

unread,
Jun 15, 2011, 3:43:15 PM6/15/11
to opentrippl...@googlegroups.com
Getting the panel on the right side of the screen is a good start, but
Devanagari is a left-to-right script. To make OTP look good with a
right-to-left writing system, you will still need to reverse some
controls in the panel, etc.

A RTL option would be greatly appreciated if you can get it working!

-Andrew

Vivien Deparday

unread,
Jun 15, 2011, 4:31:27 PM6/15/11
to opentrippl...@googlegroups.com
Thanks for the precision, I was not sure. It is written right-to-left
interface here: http://opentripplanner.com/demos but not right-to-left
script !
Viv

Roy

unread,
Jun 18, 2011, 12:37:22 PM6/18/11
to OpenTripPlanner Users
Thanks

I will keep you updated on my progress

On 15 יוני, 23:31, Vivien Deparday <vivien.depar...@gmail.com> wrote:
> Thanks for the precision, I was not sure. It is written right-to-left
> interface here:http://opentripplanner.com/demosbut not right-to-left
> script !
> Viv
>
> On 06/15/2011 03:43 PM, Andrew Byrd wrote:
>
>
>
>
>
>
>
> > Getting the panel on the right side of the screen is a good start, but
> > Devanagari is a left-to-right script. To make OTP look good with a
> > right-to-left writing system, you will still need to reverse some
> > controls in the panel, etc.
>
> > A RTL option would be greatly appreciated if you can get it working!
>
> > -Andrew
>
> > On 06/15/2011 08:59 PM, Vivien Deparday wrote:
> >> The Pune demo that you can find here:
> >>http://opentripplanner.org/wiki/Demoshas a right-to-left panel. I have
Reply all
Reply to author
Forward
0 new messages