Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#2089 closed enhancement (fixed)

BiDi supporting patches for docs, template context and admin

Reported by: meir@… Owned by: hugo
Component: Internationalization Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This follows #1660. It adds:

  • LANGUAGE_BIDI context variable
  • updates docs/i18n.txt to include information about the new context variable
  • Modifies admin's login.html and base.html to feed rtl stylesheets which import the corresponding stylesheets and override the ltr specific settings
  • 2 RTL enabled admin stylesheets (base_rtl.css and login_rtl.css).

Also see attached a screenshot of the admin's RTL login screen.

Attachments (4)

django_bidi.diff (2.9 KB ) - added by meir@… 19 years ago.
patch to add LANGUAGE_BIDI context var, update i18n.txt doc and feed rtl enabled stylesheets
login_rtl.css (272 bytes ) - added by meir@… 19 years ago.
django/contrib/admin/media/css/login_rtl.css
base_rtl.css (55 bytes ) - added by meir@… 19 years ago.
django/contrib/admin/media/css/base_rtl.css
django_login_bidi.png (22.0 KB ) - added by meir@… 19 years ago.
Screenshot of the RTL Hebrew version of the login screen

Download all attachments as: .zip

Change History (5)

by meir@…, 19 years ago

Attachment: django_bidi.diff added

patch to add LANGUAGE_BIDI context var, update i18n.txt doc and feed rtl enabled stylesheets

by meir@…, 19 years ago

Attachment: login_rtl.css added

django/contrib/admin/media/css/login_rtl.css

by meir@…, 19 years ago

Attachment: base_rtl.css added

django/contrib/admin/media/css/base_rtl.css

by meir@…, 19 years ago

Attachment: django_login_bidi.png added

Screenshot of the RTL Hebrew version of the login screen

comment:1 by hugo, 19 years ago

Resolution: fixed
Status: newclosed

(In [3091]) fixed #2089: added language bidirectional support and updated the admin to use it. thanks meir@mksoft!

Note: See TracTickets for help on using tickets.
Back to Top