In a long and detailed discussion at http://drupal.org/node/1357918, we started out with the problem that we call too many things 'language' in Drupal. We call language objects, we call language codes, and sometimes even other structures. In an effort to clean that up, we decided after pondering various options to go with 'langcode' for language codes and instituting that as a rule in Drupal 8.
The goal of this effort is if you see $languge, 'language' or ->langugae, it should always be a language object, if you see $langcode, 'langcode' or ->langcode, that would be a language code.
See all these issues also at http://drupal.org/project/issues/search/drupal?issue_tags=langcode%2C+D8MI&issue_tags_op=and. This view of issues is automatically cached and might be out of date up to two hours at times.
| To do | To review | To be committed |
|---|---|---|
#1305378: Tokens should use $options['langcode'] and not need a language object feature requestnormalactivelanguage-base Assigned to Dave Reid |
See all these issues also at http://drupal.org/project/issues/search/drupal?issue_tags=langcode%2C+D8MI&issue_tags_op=and. This view of issues is automatically cached and might be out of date up to two hours at times.
| Backport | Postponed | Closed |
|---|---|---|
#1357918: Missing update for language_default in language langcode update bug reportmajorclosed (fixed)API clean-uplanguage-base #1439692: Rename field language properties to langcode bug reportmajorclosed (fixed)language-contenttranslatable fields Assigned to catch #1216094: We call too many things 'language', clean that up tasknormalclosed (fixed)API clean-uplanguage-baseterminology #1260716: Improve language onboarding user experience tasknormalclosed (fixed)API changelanguage-basemontrealUsability Assigned to Gábor Hojtsy #1357912: Convert path language code schema to langcode tasknormalclosed (fixed)API clean-upDrupalWTF Assigned to Gábor Hojtsy #1410096: Convert comment language code schema to langcode tasknormalclosed (fixed)language-content Assigned to Gábor Hojtsy #1410114: Rename $user language property to something else tasknormalclosed (won't fix)language-content #1426954: Remove locale backward compatibility layer in installer tasknormalclosed (fixed)language-base #1439680: Rename $user language property to langcode tasknormalclosed (duplicate)language-content Assigned to kalman.hosszu #1439686: Rename $node language property to langcode tasknormalclosed (fixed)language-content Assigned to tstoeckler #1444966: Add langcode property in taxonomy schema feature requestnormalclosed (duplicate)language-content Assigned to csg #1444992: Add langcode property in file schema feature requestnormalclosed (duplicate)language-contentMedia Initiative #1454538: Add langcode property to all entity types; for the user entity, distinguish entity language from user's language preference feature requestnormalclosed (fixed)language-content |