Download & Extend

Language type constants are missing proper documentation

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

Version:7.x-dev» 8.x-dev

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

Status:active» closed (duplicate)

#1156576: Language negotiation is undocumented

#3

Title:Remove language type constants or document them» Language type constants are missing proper documentation
Component:language system» documentation
Status:closed (duplicate)» active
Issue tags:-D8MI+needs backport to D7

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

Status:active» closed (duplicate)
Issue tags:+D8MI

crosspost

#5

Issue tags:+language-base

Tagging for base language system.

#6

Priority:major» normal
Issue tags:+negotiation

Tagging for language negotiation too.