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

Overriding the translation path in the installer does not work

$
0
0

Problem/Motivation

install_begin_request() checks for the existance of $GLOBALS['config']['locale.settings']['translation.path'] to set up the correct string translation service.

This, however, is not the correct way to specify a global configuration override. I.e. even if you set that global, \Drupal::config('locale.settings')->get('translation.path') will return the default value.

Proposed resolution

Check for $GLOBALS['config']['locale.settings']['translation']['path'] instead.

Remaining tasks

User interface changes

API changes


Viewing all articles
Browse latest Browse all 293729

Trending Articles



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