Removing langcode setting to fr

Created on 27 September 2020, almost 4 years ago
Updated 22 August 2023, 10 months ago

Problem/Motivation

Would like to remove the langcode settings to fr.

Steps to reproduce

With fr defined we needed to added a language setting for french under:
/admin/config/regional/language
Getting exception when modules, like Webform, make calls to:
getNativeLanguages() in web/core/modules/language/src/ConfigurableLanguageManager.php
This in turn makes a call to ::load with a langcode of en, which returns null.
$natives[$langcode] = ConfigurableLanguage::load($langcode);
Next a call to Language::sort($natives); throws an exception with the en value set to null.

Proposed resolution

Remove references to langcode fr.

Remaining tasks

Provided a patch to address this. Needs to be reviewed.

User interface changes

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States gmercer

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.

Production build 0.69.0 2024