Updated: Comment #0
Problem/Motivation
hook_language_types_info()
allows to define additional language types to be used in the system. It also allow to specify predefined language negotiation settings for non-configurable language types through the fixed
key. The name of they key is completely meaningless to almost everyone looking at the API docs for the first time. Additionally all the code managing language type configurability is extremely convoluted and is hard to follow even for the people that originally designed/wrote it.
Proposed resolution
- Rename the
fixed
key to something more self-documenting, such assettings
orconfig
. - Clean-up the code that handles language type configurability.
Remaining tasks
- Agree on a solution
- Write a patch
- Fix failing tests
- Reviews
User interface changes
none
API changes
TBD
Comments
Comment #1
plachPostponed on #1862202: Objectify the language system.
Comment #2
plachComment #3
plachThe parent issue has been committed.
Comment #4
tim.plunkettComment #5
plachIt would really be better to have this sorted out before beta, at least the API change part.
Comment #6
plach... and we'll need a BC layer now.
Comment #7
plachComment #8
YesCT CreditAttribution: YesCT commented