Add Translate tab to ContentLanguageSettings page

Created on 19 September 2015, over 9 years ago
Updated 16 March 2023, almost 2 years ago

Hat tip to @jhodgdon for finding this.

Problem/Motivation

The ContentLanguageSettings config entity cannot be translated because it does not have a dedicated edit form. Instead all of the content language settings are edited on a single page.

Because content language settings do not have any translatable settings in core this is marked minor and also not tagged with sprint. However, because content language settings support third_party_settings contrib modules could add translatable values there and expect to be able to translate them with the Config Translation module.

Proposed resolution

Create a ContentLanguageSettingsMapper which adds all the content language settings config entities.

Remaining tasks

User interface changes

Add a Translate tab to the Content language settings page. This will only ever be shown if there is a module which adds translatable third-party settings to content language settings.

API changes

None.

Data model changes

None.

📌 Task
Status

Active

Version

10.1

Component
Language module 

Last updated 4 days ago

  • Maintained by
  • 🇩🇪Germany @sun
Created by

🇩🇪Germany tstoeckler Essen, Germany

Live updates comments and jobs are added and updated live.
  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

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.

  • 🇳🇿New Zealand quietone

    I tested this on Drupal 10.1.x and yes, there is no translate tab at /admin/config/regional/content-language. I installed Italian and went to
    it/admin/config/regional/content-language and the strings were translated. And they can be translated at admin/config/regional/translate. So, I have updated the title. Since the strings can be translated I am changing this to a task.

Production build 0.71.5 2024