Problem/Motivation

Since #3027639: Make css/js optimized assets path configurable, released in versions 10.1 & 11.1, Drupal uses the assets:// wrapper to store and serve aggregated CSS and JS files.
This allows people with special storage needs to separate uploaded files from generated ones.

The locale module generates files for translations used in the JS scripts (cf _locale_rebuild_js()). These generated files are located in a configurable sub folder of the public:// base folder.

Proposed resolution

Use the assets:// base folder for consistency with other generated files.

CommentFileSizeAuthor
#3 3591076-3.patch3.22 KBduaelfr

Issue fork drupal-3591076

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

duaelfr created an issue. See original summary.

duaelfr’s picture

Status: Active » Needs review
Issue tags: -JavaScript +JavaScript
StatusFileSize
new3.22 KB

The fix is quite straight forward.
I don't think it's breaking BC but we might want to put this behind a feature flag just in case, aren't we?

Patch attached for composer.

smustgrave’s picture

Status: Needs review » Needs work
Issue tags: -JavaScript +JavaScript

Not sure a feature flag but maybe a CR?