Drupal 8 had a centralized .po file directory to prepare for l10n_update feature inclusion in core. This centralized directory can have any number of files, and when a module is added or removed and when Drupal is installed, all files are imported that are for the languages enabled on the site. That is not very effective, and we should keep track of what did we import, and if anything changed and would need to be reimported again or we should leave the file alone.
- Introduce a table to track file information (name, langcode, date)
- Fill in this table based on the files in the filesystem at first (when importing translations for example)
- On further automated imports (such as when a module is enabled, or a drush command is run), update the table with new files, and only import the needed files which are changed or new and are needed for the import (ie. in the languages configured on the site)
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 1635084-followup.patch. Unable to apply patch. See the log in the details link for more information.
PASSED: [[SimpleTest]]: [MySQL] 36,991 pass(es).
PASSED: [[SimpleTest]]: [MySQL] 37,003 pass(es).