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 |
|---|---|---|
#1439692: Rename field language properties to langcode tasknormalneeds worklanguage-contentsprinttranslatable fields Assigned to clemens.tolboom #1444966: Add langcode property in taxonomy schema feature requestnormalneeds worklanguage-contentNeeds testssprint Assigned to csg #1444992: Add langcode property in file schema feature requestnormalneeds worklanguage-contentMedia Initiativesprint #1305378: Tokens should use $options['langcode'] and not need a language object feature requestnormalactivelanguage-base | #1439680: Rename $user language property to langcode tasknormallanguage-contentsprint Assigned to kalman.hosszu #1439686: Rename $node language property to langcode tasknormallanguage-contentsprint Assigned to tstoeckler |
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 reportmajorfixedAPI clean-uplanguage-base #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 tasknormalfixedlanguage-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 |