The setting to transliterate file names (admin/config/media/file-system
) is on by default. A good thing IMO, but the help text needs some love, plus we can be smarter than that. So...
The help text currently reads:
If you enable this setting later, you may want to retroactively transliterate existing file names.
..."later"?? ...later than what? Also "retroactively"?? How many non-English speaking users even know what this means? I think that it would be better worded like so:
If you enable this setting after files have been uploaded to your site, you may want to transliterate existing file names.
As for the "smarter" part: how about we hide this part of the help text entirely? ..then we can have a check run at cron or something (only if "Transliterate file names during upload" is enabled) and then display a site status report message like this:
There are currently files uploaded to your site that contain non-ASCII characters in their file names. You may want to transliterate them.
This warning can be merged with the existing "File system" section of the site status report.
Now, once this check has been done (only if "Transliterate file names during upload" is enabled) and there are files with non-ASCII characters, we can (additionally to the site status page) also update the help text of this setting by appending the "There are currently files uploaded..." text.
Recent comments
Hello, @yorkshirepudding! Thanks a lot, I got it, all sorted out.
My layout template (layout--blog.tpl.php) doesn't work
Hi @Gnome and welcome to Backdrop When I create custom layout templates I put them in /layouts/custom/my_layout Note: you can split modules and layouts between contrib and custom...
My layout template (layout--blog.tpl.php) doesn't work
This post explains how to do this in Drupal 7. In Backdrop, File Entity is already part of core. You will need to download and install module Views Field View. https://drupal.stackexchange...
I Need to Display an Image in a View that was Uploaded to a Webform