Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#20454 closed Bug (fixed)

Urdu is RTL

Reported by: Axel Hecht Owned by: pike
Component: Core (Other) Version: dev
Severity: Normal Keywords:
Cc: pike, Jannis Leidel Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In #15300, Urdu was added, but not added to the list of RTL locales. But it is.

References: https://github.com/django/django/blob/master/django/contrib/admin/locale/ur/LC_MESSAGES/django.po shows if you select bidi text, and http://en.wikipedia.org/wiki/Urdu says so.

I'll create a PR

Change History (7)

comment:1 by EmilStenstrom, 11 years ago

Triage Stage: UnreviewedAccepted

Looks like a good idea. Marking as Accepted.

Are there tests for RTL languages?

comment:2 by Axel Hecht, 11 years ago

I had this alllllll written out, but apparently I didn't submit my comment.

I checked, there are some candidates of languages that are also written in RTL, but also in other scripts, and the ones in the tree use non-RTL scripts.

The PR for this ticket is https://github.com/django/django/pull/1142.

I didn't see any existing tests for RTL languages.

comment:3 by Axel Hecht <axel@…>, 11 years ago

In 004fde0702957bd73b49313ed17919da71dc909f:

Make Urdu (ur) recognized as RTL language. Refs #20454

comment:4 by Andrew Godwin <andrew@…>, 11 years ago

Resolution: fixed
Status: newclosed

In 2d0e36ae37aa7e017eb4bfe923b3ed3e7a5aa1aa:

Merge pull request #1142 from Pike/master

Fixed #20454: Make Urdu (ur) recognized as RTL language

comment:5 by Joannes, 11 years ago

Urdu is still flagged as not bidi in LANG_INFO here: https://github.com/django/django/blob/master/django/conf/locale/__init__.py

comment:6 by Claude Paroz <claude@…>, 11 years ago

In e4a67fd90626ced92a61f38ef682d2aa4f34a3ff:

Set 'bidi' Urdu property to True

Refs #20454.

comment:7 by Claude Paroz <claude@…>, 11 years ago

In 1d874ce0f94432c1a4b42cacaeb02c5948000d0f:

[1.6.x] Set 'bidi' Urdu property to True

Refs #20454.
Backport of e4a67fd90 from master.

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