Arabic layout support

6 views
Skip to first unread message

free_programmer

unread,
Nov 23, 2009, 11:28:27 AM11/23/09
to Qwit
Hi all,
I like Qwit so much so I translated it my language (Arabic),so far so
good :) , the issue is Arabic is RTL language so all the layout looks
wrong, so I need a way in QT to make the layout appear Right-To_left
when someone switch to arabic, I'm new to QT but after some search I
find this :
setLayoutDirection(Qt::RightToLeft);
but I don't know where or how to use it !
So I need your help :(
any advice or solution ?
sorry for my bad english :P

Free_programmer

roop

unread,
Dec 1, 2009, 12:48:36 PM12/1/09
to Qwit
Hey Free_programmer, do you have a name? :)

Ideally, you shouldn't really have to change the layout direction. It
should just
work.

I presume you mean that the tweets in Arabic are shown LtoR instead of
RtoL. Is that
right? Are atleast the translated text shown the correct direction,
like in
the Options and About dialogs?

For the tweets being wrong: Can you send a sample text in unicode,
and
screenshots for how it looks for you and how it's supposed to look?

Thanks,
roop.

Badry Darkoush

unread,
Dec 2, 2009, 8:45:09 AM12/2/09
to qw...@googlegroups.com
> Hey Free_programmer, do you have a name? :)

yes I have , Badry Darkoush :)
> Ideally, you shouldn't really have to change the layout direction. It
> should just
> work.

but , it doesn't :(
> I presume you mean that the tweets in Arabic are shown LtoR instead of
> RtoL. Is that
> right? Are atleast the translated text shown the correct direction,
> like in
> the Options and About dialogs?

no the Arabic tweets and the translated text are LtoR

> For the tweets being wrong: Can you send a sample text in unicode,
> and
> screenshots for how it looks for you and how it's supposed to look?

I've attach one screenshot , I 'll send more screenshot and details ASAP
> Thanks,
> roop.
Thank you roop for you nice work
Cheers,
Badry Darkoush
> --
>
> You received this message because you are subscribed to the Google Groups
> "Qwit" group.
> To post to this group, send email to qw...@googlegroups.com.
> To unsubscribe from this group, send email to
> qwit+uns...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/qwit?hl=en.
>
>
>
Screenshot-Qwit.png
Reply all
Reply to author
Forward
0 new messages