Posted by chx on July 28, 2011 at 8:15am
3 followers
Jump to:
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | documentation |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
| Issue tags: | D8MI, language-base, needs backport to D7, negotiation |
Issue Summary
I bet noone has the slightest idea what
<?php
/**
* The type of language used to define the content language.
*/
define('LANGUAGE_TYPE_CONTENT', 'language_content');
?>this wants to be.
Comments
#1
This issue might or might not be a duplicate of #1156576: Language negotiation is undocumented.
As mentioned there the types as well as providers in detail are documented only in the upgrade guide at http://drupal.org/update/modules/6/7#language_negotiation and that needs to be moved into a topic into code and referenced from the relevant places. Not sure if we are well served by multiple very related issues on this, will leave this to Jennifer and other docs people to decide.
#2
#1156576: Language negotiation is undocumented
#3
I don't think language constants are useless in D7, perhaps in D8 they might lose meaning within the WSSCI scope or maybe they will make even more sense, we will see. Meanwhile we can try to improve doumentation, that's surely a less invasive change.
#4
crosspost
#5
Tagging for base language system.
#6
Tagging for language negotiation too.