Closed
Bug 731215
Opened 13 years ago
Closed 12 years ago
investigate: use django locale-prefixed URL's
Categories
(developer.mozilla.org Graveyard :: Localization, defect, P2)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: groovecoder, Unassigned)
References
Details
django 1.4.1 has built-in support for locale-prefixed URLs and translatable URLs, including reverse()-type helpers that are aware of this.
Updated•13 years ago
|
Priority: -- → P1
Whiteboard: u=developer c=infrastructure p= → u=developer c=infrastructure s=2012-06-05 p=
Reporter | ||
Updated•13 years ago
|
Whiteboard: u=developer c=infrastructure s=2012-06-05 p= → u=developer c=infrastructure s= p=
Assignee | ||
Updated•12 years ago
|
Version: Kuma → unspecified
Assignee | ||
Updated•12 years ago
|
Component: Website → Landing pages
Updated•12 years ago
|
Priority: P1 → P2
Comment 1•12 years ago
|
||
Are we using this already?
Component: Landing pages → Localization
Flags: needinfo?(lcrouch)
Whiteboard: u=developer c=infrastructure s= p=
Reporter | ||
Comment 2•12 years ago
|
||
deflecting to ubernostrum.
Flags: needinfo?(lcrouch) → needinfo?(jbennett)
Comment 3•12 years ago
|
||
We should not attempt to use this right now. Django's current locale-prefixed URL support is not compatible with what we need:
* It has issues with mixed-case language identifiers, so "en-US" may not be accepted, for example (needing "en-us" instead).
* It has issues with some language/country combinations. The one I know of right now is one we don't use ("de-AT"), but I'd want to stay away until we know that's fixed.
So for now probably best to just stay on our own homegrown prefixing middleware, though might be worth investigating whether the code that's now in Django -- which is not a middleware, and instead does the work at the level of URL resolution -- is something we could build a cleaner version on.
Flags: needinfo?(jbennett)
Comment 4•12 years ago
|
||
Going to close this one out. We can open a separate bug for the work James mentions in comment 3 as needed.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•