Closed (won't fix)
Project:
Drupal core
Version:
main
Component:
language system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Nov 2016 at 20:08 UTC
Updated:
17 Apr 2026 at 14:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
zahord commentedComment #3
andypostPlease elaborate why that makes sense to change
Comment #4
andypostThere's a patch, let's see what tests will say
Comment #6
zahord commentedI think that use a single key without dashes ('-'), it may be easier to remember and use, just a recommend!
Regards,
Comment #10
zahord commentedUpdated!
Comment #11
zahord commentedComment #18
madhu_h commentedVerified and tested the Merge request !
https://www.drupal.org/files/issues/2824443-10.patch
Testing Steps:
# Setup Languages on a site
# Add Simple-english language to the site
#verify that key for the Simple English is updated from 'en-x-simple' to 'enx'.
Test Results:
Verified that key for the Simple English is updated from 'en-x-simple' to 'enx' after applying the patch
Refer SS
https://www.drupal.org/files/issues/2021-09-27/Screenshot%202021-09-27%2...
https://www.drupal.org/files/issues/2021-09-27/Screenshot%202021-09-27%2...
Test Status: PASS
Comment #19
longwaveThe original post still doesn't really explain why we need to change the key - this doesn't make any visible difference in the installer, nor can I think of a case where you need to know or remember the language key.
Also, what happens to existing sites that use Simple English? Simply changing the key will have side effects for these sites.
Comment #25
quietone commentedThere have been 2 requests here asking for why this change is useful, one 9 years ago and again about 5 years ago. There has been no answer. @longwave, points out that the key doesn't affect the installer and that changing the key will impact existing sites. Given that and the lack of interest here I am closing this issue.