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.
| Comment | File | Size | Author |
|---|
Issue fork drupal-3591076
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
Comment #3
duaelfrThe 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.
Comment #4
smustgrave commentedNot sure a feature flag but maybe a CR?
Comment #5
duaelfrNot being a native English speaker makes me fear the exercise of writing a CR.
Feel free to make it better ;)
#3592731: JavaScript translation files are now stored in the assets:// path location
Comment #6
smustgrave commentedEdited the numbers but seems good to me!