Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 297347

Expose the `translation.import_enabled` locale setting in admin UI

$
0
0

Problem/Motivation

When we install the Locale module and configure more than one language, on each module install we see the progress bar "Updating configuration translations" which takes quite a lot of time each time, even when we install a custom local module, that doesn't have any translations.

So, when we have the active development stage with many install-uninstall procedures, we probably do not want to spend time watching this progress bar every time.

We have a hidden setting translation.import_enabled in the Locale module to disable this behavior, but there seems to be no way to control this setting in the UI.

Steps to reproduce

1. Add several languages to Drupal.
2. Try to install a local custom module.
3. See the "Updating configuration translations" progress bar that actually does nothing useful, just spending time.

Proposed resolution

To resolve this issue, let's add a checkbox to the Locale settings form "Disable import translations during the module install".

If it sounds okay, I can prepare an MR with the fix.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 297347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>