Support RTL conversations in the ubuntu theme
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Adium Theme Ubuntu |
New
|
Undecided
|
Unassigned | ||
adium-theme-ubuntu (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Binary package hint: adium-theme-ubuntu
Hi,
Currently, the ubuntu theme in empathy is hardcoded towards conversations with left-to-right directionality. Even if the messages are with right-to-left directionality, for example, in Hebrew or Arabic, the message is left aligned, and the bubble appears to the right of the avatar.
In my opinion, the best way to support these languages would be to somehow run pango_get_base_dir on each message, and expose this information to the theme. The theme could for example set a CSS class for messages that are right-to-left, and then format them correctly using the CSS.
An alternative solution, would be to detect the directionality according to the user's locale. This would be little less useful in my opinion, because one user might have a conversation in a left-to-right language, while using a locale which is right-to-left, or vice versa.
Regards,
Haggai Eran
Changed in adium-theme-ubuntu (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
summary: |
- Support bidi conversations in the ubuntu theme + Support RTL conversations in the ubuntu theme |
I edited the adium-theme-ubuntu to support RTL,
I test it on Arabic because its my native language .. and with MSN protocol !
here the branch/ /code.launchpad .net/~saanina/ adium-theme- ubuntu/ i18n
https:/
And I attached an image to see how it look like