Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
language system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2007 at 14:44 UTC
Updated:
20 Sep 2007 at 14:43 UTC
Currently, when choosing an optional language the ‘Home’ link in the breadcrumb contains -front- when using ‘LANGUAGE_NEGOTIATION_PATH’. For example, if I choose Dutch, the home-link will be ‘localhost/nl/-front-’.
The $path ‘-front-’ is handled special in function ‘url’ (in common.inc’ but ‘nl/-front-’ is not.
Attached patch alters function ‘language_url_rewrite’ (in language.inc) to check if the $path = ‘-front-’ and will only add the language prefix in that case.
Nick
| Comment | File | Size | Author |
|---|---|---|---|
| front_0.patch | 635 bytes | desbeers |
Comments
Comment #1
gábor hojtsyIndeed, this was an outstanding issue. Thanks for the fix.
Comment #2
(not verified) commented