This issue is a very simple part of the family of issues being opened after discussion in #1222106: Unify language negotiation APIs, declutter terminology. Given we are moving the language negotiation code to language module, we are preparing the code for being in that namespace. This patch does a simple search and replace to change the built-in negotiation constants from LOCALE_LANGUAGE_NEGOTIATION_* to LANGUAGE_NEGOTIATION_*.
Only the names of the constants are changed, no other change is included.
| Comment | File | Size | Author |
|---|---|---|---|
| locale-language-negotiation-to-language-negotiation-0.patch | 19.43 KB | gábor hojtsy |
Comments
Comment #1
plachThe patch looks ok. Will we change the constant values while moving the Language negotiation API into the Language module?
Comment #2
gábor hojtsyYes, I expect so. That will be a much smaller patch though, less possibilities for conflict.
Comment #3
plachMakes sense, I guess we could also #1222194: Rename global $language to $language_interface meanwhile.
Comment #4
dries commentedThis looks like a very logical cleanup. Committed to 8.x. Thanks!
Comment #5
gábor hojtsyYay, thanks, quick change notification node submitted too: http://drupal.org/node/1432876