Unable to change language name

Created on 2 May 2018, about 6 years ago
Updated 14 May 2024, 19 days ago

I installed German Drupal 8.5.3 and enabled English as second language. I changed the language names from German to de and English to en, path drupal/admin/config/regional/language/edit/

Now, German is labeled de but English is still labeled English. This is a bug I reported already very long ago! Please see the screenshots too.

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component
Language systemΒ  β†’

Last updated about 21 hours ago

  • Maintained by
  • πŸ‡©πŸ‡ͺGermany @sun
Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΉπŸ‡­Thailand manarak

    still an issue in 10.2.4

  • Status changed to Active about 2 months ago
  • Status changed to Postponed: needs info about 2 months ago
  • πŸ‡ΊπŸ‡ΈUnited States cilefen
  • πŸ‡ΉπŸ‡­Thailand manarak

    Needs 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 πŸ› Configuration language is not adjusted after changing the site default language Active

  • πŸ‡ΊπŸ‡ΈUnited States cilefen

    If there are two issues and the other has more information we should close this as a duplicate.

  • πŸ‡ΉπŸ‡­Thailand manarak

    there are a dozen or so of related issues

  • πŸ‡¦πŸ‡ΊAustralia pameeela
  • πŸ‡¦πŸ‡ΊAustralia pameeela

    @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.

  • πŸ‡ΉπŸ‡­Thailand manarak

    @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.

Production build 0.69.0 2024