Closed (outdated)
Project:
Drupal core
Version:
main
Component:
language system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Anonymous (not verified)
Created:
2 May 2018 at 12:51 UTC
Updated:
19 Apr 2026 at 08:52 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commented20 Drei created an issue. See original summary.
Comment #2
cilefen commentedWas this forum topic the original report?
If yes, forum topics are not bug reports. They are discussions. This is a bug report.
Comment #3
Anonymous (not verified) commentedYes, this is a bug report. This problem still occurs in Drupal 8.5.3 but I fixed it now following Ismail Cherri's suggestion in that discussion.
Comment #6
rishabhthakur commentedComment #7
nicrodgersI've been unable to reproduce this, I've tested 8.9.0 and 9.0.0. Closing. Feel free to re-open with steps to reproduce, if it's still a problem.
Comment #8
drupaldope commentedstill an issue in 10.2.4
Comment #9
drupaldope commentedComment #10
cilefen commentedComment #11
drupaldope commentedNeeds steps to reproduce
As the OP mentioned, the steps to reproduce, as of Drupal 10.2.4 are:
- install Drupal using for example German as a first default language
- enable English
- do some stuff, create content, etc.
- enable UI, config and content translations
(maybe all of the above steps aren't necessary to reproduce the bug)
then:
- go to languages /admin/config/regional/language and change the label of both languages, for example, name Deutsch "de" and English "en"
maybe it will first appear to work. maybe not.
if you do something else, like adding content in one or the other language, one might jump back to the original name "Deutsch" or "English".
The strange thing is that the YML config item shown by DEVEL is all correct.
If trying to add translations to the language names, an error message will appear "English translation was not added. To add a translation, you must modify the configuration."
Sometimes there is no error message, and the translation seemingly gets accepted, but the name of the language will jump back to the original anyway, even if on the languages page /admin/config/regional/language everything seems normal and both are displayed as "de" and "en", but either Deutsch or English will appear as its original name no matter what settings.
after doing something else on the site, ONE of the labels on the languages page /admin/config/regional/language will revert back to original.
it's very frustrating.
this bug has been going on for years and has been reported in one form or another many times.
I wrote more about it here:
https://www.drupal.org/project/drupal/issues/3337864#comment-15540567
Comment #12
cilefen commentedIf there are two issues and the other has more information we should close this as a duplicate.
Comment #13
drupaldope commentedthere are a dozen or so of related issues, maybe more if counting those logged to other modules where users believed the bug isn't in core.
Comment #14
pameeela commentedComment #15
pameeela commented@DrupalDope are the issues related or duplicates? If they are duplicates, it is more likely to be resolved if all but one are closed, so that all work is being done toward the same resolution.
Comment #16
drupaldope commented@pameeela
if I knew if the bugs were related or duplicates, it would mean I knew the exact nature of the bug, but I don't.
I spent hours on the problem trying to figure out what is wrong, but wasn't able to pinpoint the problem.
Comment #17
anaconda777 commentedThe problem is described here:
https://www.drupal.org/project/drupal/issues/2797961#comment-15629652
Comment #18
quietone commentedI have been unable to reproduce this problem on 11.x HEAD today. I tried 3 cases;
In all cases I was not able to reproduce the problem where the translated name for 'English' , which was 'xy', was changed to "English".
It is not clear to me if this is a problem with the language switcher block. If it is, then this should be closed as a duplicate of #2797961: Language switcher label cannot be changed for English
Comment #19
drupaldope commented@quietone
the issue is in language admin, not the switcher block.
did you follow the steps described here?
https://www.drupal.org/project/drupal/issues/2797961#comment-15629652
Comment #21
quietone commentedI tested again on 11.3.6 using the steps here and those in the other issue. Again I could not reproduce the problem. I also tried to reproduce the problem with the language switcher and failed.
I see this is tagged as major. I don't think an incorrect label is a significant bug and there is workaround, an admin must reenter the translation.
The comment in the other issue states that the problem exists in 10.2.6. So, it was fixed in 11 but not backported. I don't know what issue it was fixed but the decision to back port is made at the time of the commit according to our backport policy.
Therefore closing as outdated.