BiDi Support

BiDi Support

Postby genghiskhan » Fri Jul 19, 2013 6:09 pm

Hello,

I am, along with others, a translator of QutIM in Hebrew.

This is a request to add BiDi support (e.g. Arabic against English and English against Arabic).

A document suggests BiDi implementation for chat programs was made at https://trac.gajim.org/wiki/BiDi after a partial support for messages ("regular messages") has been added into Gajim.

There is a function in Gajim called i18n.paragraph_direction_mark but I do not know where a similar function is available for Qt.

Concerning to Banner, Popup notification and Join & Leave there is in Qt a class to recognize "LayoutDirection" and set layout direction "widget->setLayoutDirection(Qt::LeftToRight);" which should be easy.

Qt::LayoutDirection QApplication::keyboardInputDirection () [static]
http://qt.developpez.com/doc/4.7/qt/#la ... ction-enum
http://qt.developpez.com/doc/4.7/qappli ... efttoright
https://qt-project.org/forums/viewthread/15280

i18n.paragraph_direction_mark of Gajim
https://trac.gajim.org/changeset/001d4e759427
https://gajim.org/apidocs/common.i18n-m ... ction_mark

More information
Right-To-Left Text in Markup Languages
Handling Right-to-left Scripts
genghiskhan
Кто-я?Где-я?
 
Posts: 1
Joined: Fri Jul 19, 2013 5:46 pm

Return to Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron
";